run 2
This commit is contained in:
parent
7dbc8d70cb
commit
6c6f54eb00
1 changed files with 19 additions and 13 deletions
|
|
@ -1,8 +1,13 @@
|
||||||
{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";
|
||||||
|
|
||||||
|
# 2. Wrap the imports in a conditional config block
|
||||||
|
config = lib.mkIf config.tulg.desktop.enable {
|
||||||
imports = [
|
imports = [
|
||||||
./noctalia.nix
|
./noctalia.nix
|
||||||
./symlink.nix
|
./symlink.nix
|
||||||
|
|
@ -12,4 +17,5 @@
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
./pkgs.nix
|
./pkgs.nix
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue