From 5dc2b60713862bde680d10f9ffc311c50d4b98c9 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Mon, 26 May 2025 17:18:11 -0500 Subject: [PATCH] create user persist dir in bash script --- nixos/bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/bootstrap.sh b/nixos/bootstrap.sh index 1b00bc8..d6df66a 100755 --- a/nixos/bootstrap.sh +++ b/nixos/bootstrap.sh @@ -157,6 +157,7 @@ sed -i "/$target_hostname/d; /$target_destination/d" ~/.ssh/known_hosts # create directory that will be used to store the users ssh keys # (Not sure if it's necessary, but I want the directory to exist before it's symlinked as declared in the configuration.nix file) install -d -m755 "$temp/persist/$target_administrator/.ssh" +install -d -m755 "$temp/persist/$target_administrator/rp" # Create the directory where sshd expects to find the host keys install -d -m755 "$temp/persist/etc/ssh"