From fa7d87f49f566d7a882c27db6eb3e3ca51b2a220 Mon Sep 17 00:00:00 2001 From: tulg Date: Sat, 28 Feb 2026 19:55:43 +0300 Subject: [PATCH] my life is in shambles --- modules/home-manager/desktop/default.nix | 4 ---- modules/home-manager/home.nix | 9 ++++----- 2 files changed, 4 insertions(+), 9 deletions(-) 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}"];