Don’t use ssh-ng for uploading
This commit is contained in:
parent
fcd91e9ed0
commit
b31300986c
|
@ -95,7 +95,7 @@ final: _: let
|
||||||
${pkgs.lib.getExe pkgs.openssh} root@$host $@
|
${pkgs.lib.getExe pkgs.openssh} root@$host $@
|
||||||
}
|
}
|
||||||
echo "Uploading configuration to $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
|
fi
|
||||||
on_target ${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set $output
|
on_target ${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set $output
|
||||||
on_target $output/bin/switch-to-configuration switch
|
on_target $output/bin/switch-to-configuration switch
|
||||||
|
|
Loading…
Reference in a new issue