feat: add catppuccin theming

This commit is contained in:
Ruben 2024-04-17 21:31:20 -05:00
commit 89397065e2
No known key found for this signature in database
GPG key ID: AE181294E97E4802
3 changed files with 39 additions and 2 deletions

View file

@ -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
]; ];
}; };
}; };

View file

@ -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";

View file

@ -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