{ config, 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 ./symlink.nix ./hyprland.nix ./spicetify.nix ./browsers/zen.nix ./vscode.nix ./pkgs.nix ]; }; }