gtk: fixed stuff

This commit is contained in:
Charlie Root 2024-08-15 23:59:00 +02:00
commit 2d98ccfdb5
4 changed files with 16 additions and 21 deletions

View file

@ -4,11 +4,10 @@
config,
...
}: let
inherit (config.modules.other.system) username;
inherit (lib) mkOption mkEnableOption;
inherit (lib.types) str package submodule;
in {
options.modules.style.gtk = {
options.modules.usrEnv.style.gtk = {
enable = mkEnableOption "Wether to enable GTK theming";
theme = {
name = mkOption {
@ -22,21 +21,17 @@ in {
type = package;
};
};
iconTheme = mkOption {
iconTheme = {
description = "The GTK icon theme";
type = submodule {
options = {
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;
};
};
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;
};
};
};