remove extraArgs dependancy

This commit is contained in:
Sean Buckley 2022-02-04 13:41:53 -05:00
parent c02a1949bb
commit db667ab72a

View file

@ -1,4 +1,5 @@
{ self
, hosts
, modules ? [ ]
}:
@ -97,10 +98,9 @@ in
{ meta.nixpkgs = nixpkgs.legacyPackages."x86_64-linux"; } //
builtins.mapAttrs
(name: value: {
nixpkgs.system = value.config.nixpkgs.system; # needed for multi-arch deployments
imports = value.extraArgs.modules ++ [
imports = value.modules ++ [
({ config, ... }: { inherit (config.sconfig) deployment; })
];
})
(nixosConfigurations);
(hosts);
}