mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove extraArgs dependancy
This commit is contained in:
parent
c02a1949bb
commit
db667ab72a
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
{ self
|
{ self
|
||||||
|
, hosts
|
||||||
, modules ? [ ]
|
, modules ? [ ]
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -97,10 +98,9 @@ in
|
||||||
{ meta.nixpkgs = nixpkgs.legacyPackages."x86_64-linux"; } //
|
{ meta.nixpkgs = nixpkgs.legacyPackages."x86_64-linux"; } //
|
||||||
builtins.mapAttrs
|
builtins.mapAttrs
|
||||||
(name: value: {
|
(name: value: {
|
||||||
nixpkgs.system = value.config.nixpkgs.system; # needed for multi-arch deployments
|
imports = value.modules ++ [
|
||||||
imports = value.extraArgs.modules ++ [
|
|
||||||
({ config, ... }: { inherit (config.sconfig) deployment; })
|
({ config, ... }: { inherit (config.sconfig) deployment; })
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
(nixosConfigurations);
|
(hosts);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue