From 76b42a7c19d9734b3cd91b8e8a8d38378d06bcf8 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sat, 3 May 2025 22:25:32 -0500 Subject: [PATCH] remove dependency on previously removed impermanence var --- nixos/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/script.sh b/nixos/script.sh index 90d364c..3b70373 100755 --- a/nixos/script.sh +++ b/nixos/script.sh @@ -127,7 +127,7 @@ fi install -d -m755 "$temp/persist/etc/ssh" # Generate private key and copy it to the temporary directory -ssh-keygen -t ed25519 -f "$temp/$persist_dir/etc/ssh/ssh_host_ed25519_key" -C "$target_user"@"$target_hostname" -N "" +ssh-keygen -t ed25519 -f "$temp/persist/etc/ssh/ssh_host_ed25519_key" -C "$target_user"@"$target_hostname" -N "" # Set the correct permissions so sshd will accept the key chmod 600 "$temp/persist/etc/ssh/ssh_host_ed25519_key"