This commit is contained in:
tulg 2026-02-28 18:54:33 +03:00
parent 7dbc8d70cb
commit 6c6f54eb00

View file

@ -1,15 +1,21 @@
{lib, ...}: { {
options = { config,
tulg.desktop.enable = lib.mkEnableOption "gui"; lib,
}; ...
}: {
# 1. Define the option (Keep it here if this is the only place it lives)
options.tulg.desktop.enable = lib.mkEnableOption "gui";
imports = [ # 2. Wrap the imports in a conditional config block
./noctalia.nix config = lib.mkIf config.tulg.desktop.enable {
./symlink.nix imports = [
./hyprland.nix ./noctalia.nix
./spicetify.nix ./symlink.nix
./browsers/zen.nix ./hyprland.nix
./vscode.nix ./spicetify.nix
./pkgs.nix ./browsers/zen.nix
]; ./vscode.nix
./pkgs.nix
];
};
} }