mirror of
https://git.gay/sneexy/nixos.git
synced 2026-01-11 13:13:15 -08:00
chore: lots of changes related to packages
This commit is contained in:
parent
74e9f6985a
commit
309af998f3
6 changed files with 285 additions and 301 deletions
57
users/ruben/themes.nix
Normal file
57
users/ruben/themes.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue