gtk: fixed stuff
This commit is contained in:
parent
ce02a2b817
commit
2d98ccfdb5
4 changed files with 16 additions and 21 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -9,7 +9,7 @@ in {
|
|||
imports = [
|
||||
./stylix.nix
|
||||
# ./qt.nix
|
||||
# ./gtk.nix
|
||||
./gtk.nix
|
||||
];
|
||||
|
||||
options.modules.style = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue