feat(nix): add graphical module, pass option to nixosSystem
This commit is contained in:
parent
c2bae8cd85
commit
df06e092d6
5 changed files with 73 additions and 29 deletions
|
@ -22,7 +22,10 @@ let
|
|||
name: value:
|
||||
if class == "nixos" then
|
||||
nixosSystem {
|
||||
specialArgs.hostName = name;
|
||||
specialArgs = {
|
||||
inherit (value) graphical;
|
||||
hostName = name;
|
||||
};
|
||||
modules = [
|
||||
cfg.modules.nixos.default
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue