my life is in shambles
This commit is contained in:
parent
87c7dcfadf
commit
fa7d87f49f
2 changed files with 4 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue