diff options
Diffstat (limited to 'modules/home/suites/desktop')
| -rw-r--r-- | modules/home/suites/desktop/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/home/suites/desktop/default.nix b/modules/home/suites/desktop/default.nix index 077843a..530a63a 100644 --- a/modules/home/suites/desktop/default.nix +++ b/modules/home/suites/desktop/default.nix @@ -2,12 +2,13 @@ with lib; with lib.${namespace}; let cfg = config.${namespace}.suites.desktop; + desktop = config.${namespace}.desktop; in { options.${namespace}.suites.desktop = with types; { enable = mkEnableOption "desktop"; }; - config = mkIf cfg.enable { + config = mkIf (cfg.enable && desktop.enable) { cxl = { apps = { kitty.enable = true; |