mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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
|
||||
, 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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue