From 82aafe0333ac34614a2ee4698ffc218bddd8b9f3 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:27:01 -0700 Subject: migration: overarching home desktop toggle --- modules/home/suites/desktop/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/home/suites/desktop') 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; -- cgit v1.2.3