This commit is contained in:
kat witch 2021-03-15 18:37:14 +00:00
parent 5e975f4ba0
commit f39ede8001
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,7 @@ with pkgs.lib;
''
#!${pkgs.runtimeShell}
export PATH=
nix build ${concatMapStringsSep " " (host: builtins.unsafeDiscardStringContext host.config.system.build.toplevel.drvPath) hosts}
nix build --no-link ${concatMapStringsSep " " (host: builtins.unsafeDiscardStringContext host.config.system.build.toplevel.drvPath) hosts}
${concatMapStrings (host: ''
echo "deploying ${host.config.networking.hostName}..."
${host.config.system.build.deployScript} $1 &