add enableGUI option, with conditional modules depending on it
This commit is contained in:
parent
c8647160f3
commit
7cd76b2b63
2 changed files with 33 additions and 25 deletions
10
flake.nix
10
flake.nix
|
|
@ -54,7 +54,10 @@
|
|||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
enableGUI = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
@ -67,7 +70,10 @@
|
|||
./hosts/winter
|
||||
secrets.nixosModules.winter
|
||||
];
|
||||
specialArgs = { inherit inputs; };
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
enableGUI = true;
|
||||
};
|
||||
};
|
||||
|
||||
packages.x86_64-linux = customPackages nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue