1
0
Fork 0

Don’t use ssh-ng for uploading

This commit is contained in:
Malte 2023-03-13 14:43:25 +01:00
parent fcd91e9ed0
commit b31300986c

View file

@ -95,7 +95,7 @@ final: _: let
${pkgs.lib.getExe pkgs.openssh} root@$host $@
}
echo "Uploading configuration to $host "
${final.lib.getExe pkgs.nix} copy $outputDrv $output --to ssh-ng://$host
${final.lib.getExe pkgs.nix} copy $outputDrv $output --to ssh://$host
fi
on_target ${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set $output
on_target $output/bin/switch-to-configuration switch