feat(nixos): pass hostConfig to nixosSystem specialArgs
This commit is contained in:
parent
4baf606551
commit
b984f5a084
1 changed files with 2 additions and 2 deletions
|
@ -14,12 +14,12 @@ let
|
|||
name: value:
|
||||
let
|
||||
hostName = removePrefix prefix name;
|
||||
hostConfig = value;
|
||||
in
|
||||
{
|
||||
name = hostName;
|
||||
value = lib.nixosSystem {
|
||||
specialArgs = { inherit inputs hostName; };
|
||||
#TODO: add profiles system
|
||||
specialArgs = { inherit inputs hostName hostConfig; };
|
||||
modules = [
|
||||
config.flake.profiles.nixos.common
|
||||
(value.extraCfg or { })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue