feat(nixos): add common nixos profile; move hostspec config
This commit is contained in:
parent
7f6c65320a
commit
8f9f400f92
3 changed files with 18 additions and 14 deletions
|
@ -20,7 +20,10 @@ let
|
|||
value = lib.nixosSystem {
|
||||
specialArgs = { inherit inputs hostName; };
|
||||
#TODO: add profiles system
|
||||
modules = [ value.extraCfg or { } ];
|
||||
modules = [
|
||||
config.flake.profiles.nixos.common
|
||||
(value.extraCfg or { })
|
||||
] ++ (value.profiles or [ ]);
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue