fix(nix): remove flattenAttrs
unfortunately modules don't like to be merged
This commit is contained in:
parent
9abcb6c85b
commit
1dc3f4bf44
3 changed files with 4 additions and 33 deletions
|
@ -6,7 +6,6 @@
|
|||
}:
|
||||
let
|
||||
inherit (lib) nixosSystem;
|
||||
inherit (cfg.lib) flattenAttrs;
|
||||
inherit (lib.attrsets) mapAttrs;
|
||||
cfg = config.flake;
|
||||
hosts = cfg.manifest.hosts or { };
|
||||
|
@ -22,7 +21,7 @@ let
|
|||
hostName = name;
|
||||
};
|
||||
modules = [
|
||||
(flattenAttrs cfg.modules.nixos)
|
||||
cfg.modules.nixos.default
|
||||
(value.extraCfg or { })
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue