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,
|
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 {
|
config = lib.mkIf config.tulg.desktop.enable {
|
||||||
imports = [
|
imports = [
|
||||||
./noctalia.nix
|
./noctalia.nix
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,10 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports =
|
imports = [
|
||||||
[
|
./cli/default.nix
|
||||||
./cli/default.nix
|
];
|
||||||
]
|
|
||||||
++ lib.optional config.tulg.desktop.enable ./desktop/default.nix;
|
|
||||||
tulg.desktop.enable = lib.mkDefault true;
|
tulg.desktop.enable = lib.mkDefault true;
|
||||||
# Home Manager settings
|
# Home Manager settings
|
||||||
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue