chore: lots of changes related to packages

This commit is contained in:
Ruben 2024-04-21 10:56:24 -05:00
commit 309af998f3
No known key found for this signature in database
GPG key ID: A6C94D84D2DA13EE
6 changed files with 285 additions and 301 deletions

57
users/ruben/themes.nix Normal file
View file

@ -0,0 +1,57 @@
# ╭───────────────────────────────────────────╮
# │ _ _ │
# │ __ __ _| |_ _ __ _ __ _ _ __ __(_)_ _ │
# │ / _/ _` | _| '_ \ '_ \ || / _/ _| | ' \ │
# │ \__\__,_|\__| .__/ .__/\_,_\__\__|_|_||_| │
# │ |_| |_| │
# │ catppuccin │
# ╰───────────────────────────────────────────╯
{
inputs,
lib,
osConfig,
config,
pkgs,
flake-inputs,
...
}: {
imports = [
# catppuccin home-manager flake
flake-inputs.catppuccin.homeManagerModules.catppuccin
];
# catppuccin flavour
catppuccin.flavour = "mocha";
# gtk theme
gtk = {
enable = true;
theme = {
name = "Catppuccin-Mocha-Compact-Green-Dark";
package = pkgs.catppuccin-gtk.override {
accents = ["green"];
size = "compact";
variant = "mocha";
};
};
cursorTheme = {
name = "Bibata-Modern-Ice";
package = pkgs.bibata-cursors;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
font = {
name = "Lexend Deca";
size = 10;
};
};
xdg.configFile = {
# required for catppuccin's gtk4 theme
"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";
};
}