mirror of
https://git.gay/sneexy/nixos.git
synced 2026-01-11 13:13:15 -08:00
feat: add catppuccin theming
This commit is contained in:
parent
f49bc059c9
commit
89397065e2
3 changed files with 39 additions and 2 deletions
|
|
@ -22,6 +22,10 @@
|
||||||
# packages, such as modified linux kernels (which we do use here)
|
# packages, such as modified linux kernels (which we do use here)
|
||||||
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||||
|
|
||||||
|
# catppuccin's nix thingy for theming applications with catppuccin directly inside
|
||||||
|
# of the config
|
||||||
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
|
|
||||||
# home manager for managing user specific stuff
|
# home manager for managing user specific stuff
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-23.05";
|
url = "github:nix-community/home-manager/release-23.05";
|
||||||
|
|
@ -52,6 +56,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixpkgs-master,
|
nixpkgs-master,
|
||||||
chaotic,
|
chaotic,
|
||||||
|
catppuccin,
|
||||||
home-manager,
|
home-manager,
|
||||||
plasma-manager,
|
plasma-manager,
|
||||||
nixos-06cb-009a-fingerprint-sensor,
|
nixos-06cb-009a-fingerprint-sensor,
|
||||||
|
|
@ -125,6 +130,8 @@
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
extraSpecialArgs = {inherit inputs outputs;};
|
||||||
modules = [
|
modules = [
|
||||||
./users/ruben/home.nix
|
./users/ruben/home.nix
|
||||||
|
# cat cat cat meow 🐈⬛🐈⬛🐈⬛🐈⬛🐈⬛🐈⬛🐈⬛
|
||||||
|
catppuccin.homeManagerModules.catppuccin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# secondary device
|
# secondary device
|
||||||
|
|
@ -133,6 +140,8 @@
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
extraSpecialArgs = {inherit inputs outputs;};
|
||||||
modules = [
|
modules = [
|
||||||
./users/ruben/home.nix
|
./users/ruben/home.nix
|
||||||
|
# cat cat cat meow 🐈⬛🐈⬛🐈⬛🐈⬛🐈⬛🐈⬛🐈⬛
|
||||||
|
catppuccin.homeManagerModules.catppuccin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,10 @@
|
||||||
homeDirectory = "/home/ruben";
|
homeDirectory = "/home/ruben";
|
||||||
};
|
};
|
||||||
|
|
||||||
# this is a got damn NEO VIMME HOUSE !!
|
# catppuccin flavour
|
||||||
|
catppuccin.flavour = "mocha";
|
||||||
|
|
||||||
|
# this is a got damn NEO VIMME HOUSE !!
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
|
|
@ -61,6 +64,7 @@
|
||||||
programs.fzf = {
|
programs.fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
catppuccin.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# my preferred shell customized to my needs
|
# my preferred shell customized to my needs
|
||||||
|
|
@ -145,8 +149,30 @@
|
||||||
|
|
||||||
mpv
|
mpv
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
|
ventoy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# catppuccin's gtk theme
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
name = "Catppuccin-Mocha-Compact-Green-Dark";
|
||||||
|
package = pkgs.catppuccin-gtk.override {
|
||||||
|
accents = [ "green" ];
|
||||||
|
size = "compact";
|
||||||
|
#tweaks = [ "rimless" "black" ];
|
||||||
|
variant = "mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# required for catppuccin's gtk4 theme
|
||||||
|
xdg.configFile = {
|
||||||
|
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
|
||||||
|
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
|
||||||
|
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
||||||
|
};
|
||||||
|
|
||||||
# Nicely reload system units when changing configs
|
# Nicely reload system units when changing configs
|
||||||
systemd.user.startServices = "sd-switch";
|
systemd.user.startServices = "sd-switch";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,9 @@
|
||||||
virt-manager
|
virt-manager
|
||||||
pinentry-curses
|
pinentry-curses
|
||||||
kitty wezterm
|
kitty wezterm
|
||||||
ventoy
|
bibata-cursors
|
||||||
|
papirus-icon-theme
|
||||||
|
(catppuccin-papirus-folders.override { flavor = [ "mocha" ]; accent = [ "green" ]; })
|
||||||
];
|
];
|
||||||
|
|
||||||
# we like flatpaks
|
# we like flatpaks
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue