idk deploy fuckery

This commit is contained in:
kat witch 2021-03-15 17:43:40 +00:00
parent e2752d1926
commit e6747e848e
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -6,6 +6,7 @@ with pkgs.lib;
''
#!${pkgs.runtimeShell}
export PATH=
nix build ${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 &