nichts/modules/options/style/gtk.nix

38 lines
887 B
Nix
Raw Normal View History

2024-08-15 23:26:43 +02:00
{
lib,
pkgs,
...
}: let
inherit (lib) mkOption mkEnableOption;
2024-08-16 10:10:25 +02:00
inherit (lib.types) str package;
2024-08-15 23:26:43 +02:00
in {
2024-08-15 23:59:00 +02:00
options.modules.usrEnv.style.gtk = {
2024-08-15 23:26:43 +02:00
enable = mkEnableOption "Wether to enable GTK theming";
theme = {
name = mkOption {
description = "The GTK theme name";
default = "Gruvbox-Dark-BL";
type = str;
};
package = mkOption {
description = "The GTK theme package";
default = pkgs.gruvbox-gtk-theme;
type = package;
};
};
2024-08-15 23:59:00 +02:00
iconTheme = {
2024-08-15 23:26:43 +02:00
description = "The GTK icon theme";
2024-08-15 23:59:00 +02:00
name = mkOption {
description = "The GTK icon theme name";
default = "Papirus-Dark";
type = str;
};
package = mkOption {
description = "The GTK icon theme package";
default = pkgs.catppuccin-papirus-folders;
type = package;
2024-08-15 23:26:43 +02:00
};
};
};
}