From db667ab72aec29a9a83620db2e23882e9beae8f1 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 4 Feb 2022 13:41:53 -0500 Subject: [PATCH] remove extraArgs dependancy --- lib/deploy.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/deploy.nix b/lib/deploy.nix index 0020aa9..8857c8a 100644 --- a/lib/deploy.nix +++ b/lib/deploy.nix @@ -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); }