fix(nix): remove flattenAttrs

unfortunately modules don't like to be merged
This commit is contained in:
Mohammad Rafiq 2025-07-07 13:44:35 +08:00
parent 9abcb6c85b
commit 1dc3f4bf44
No known key found for this signature in database
3 changed files with 4 additions and 33 deletions

View file

@ -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 { })
];
}