diff options
Diffstat (limited to 'modules/home/theme.nix')
-rw-r--r-- | modules/home/theme.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/home/theme.nix b/modules/home/theme.nix index 2288610..9e4edae 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -7,6 +7,7 @@ let ; in { options = { + theme.enable = lib.mkEnableOption "enables theming"; theme.mint = { enable = lib.mkEnableOption "enables mint theme"; # TODO add theme.dark option instead of specifying Dark-Color @@ -16,7 +17,7 @@ in { "Sand" "Teal" "Dark-Aqua" "Dark-Blue" "Dark-Green" "Dark-Grey" "Dark-Orange" "Dark-Pink" "Dark-Purple" "Dark-Red" "Dark-Sand" "Dark-Teal" - ]; + ]; default = "Dark-Aqua"; description = "mint-y theme color eg. 'Dark-Aqua' or 'Red'"; }; @@ -67,7 +68,7 @@ in { }; }; - config = { + config = lib.mkIf config.theme.enable { gtk = { enable = true; theme = lib.mkIf config.theme.mint.enable { |