diff --git a/modules/home-manager/desktop/default.nix b/modules/home-manager/desktop/default.nix index c2a77d1..649739c 100644 --- a/modules/home-manager/desktop/default.nix +++ b/modules/home-manager/desktop/default.nix @@ -3,10 +3,6 @@ lib, ... }: { - # 1. Define the option (Keep it here if this is the only place it lives) - options.tulg.desktop.enable = lib.mkEnableOption "gui"; - - # 2. Wrap the imports in a conditional config block config = lib.mkIf config.tulg.desktop.enable { imports = [ ./noctalia.nix diff --git a/modules/home-manager/home.nix b/modules/home-manager/home.nix index 9453af7..0a65f50 100644 --- a/modules/home-manager/home.nix +++ b/modules/home-manager/home.nix @@ -6,11 +6,10 @@ lib, ... }: { - imports = - [ - ./cli/default.nix - ] - ++ lib.optional config.tulg.desktop.enable ./desktop/default.nix; + imports = [ + ./cli/default.nix + ]; + tulg.desktop.enable = lib.mkDefault true; # Home Manager settings nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];