diff --git a/nixos-remote b/nixos-remote index 30810a5b..1fb33443 100755 --- a/nixos-remote +++ b/nixos-remote @@ -215,7 +215,7 @@ if [[ -n ${extra_files:-} ]]; then if [[ -d "$extra_files" ]]; then extra_files="$extra_files/" fi - rsync -vaAXF -e "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection#ssh://}:/mnt/" + rsync -vrlF -e "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection#ssh://}:/mnt/" fi ssh_ << SSH set -efu