From 6a006bf2e714a21ce24b22ad898fc310119d1d93 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sun, 7 Apr 2024 14:35:02 +0200 Subject: [PATCH] fix: fix path to ssh folder to add in persistent --- scripts/bootstrap-machine.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/bootstrap-machine.nix b/scripts/bootstrap-machine.nix index 97a3d72..8ba25c0 100644 --- a/scripts/bootstrap-machine.nix +++ b/scripts/bootstrap-machine.nix @@ -30,10 +30,8 @@ pkgs.writeShellScriptBin "bootstrap-machine" '' mkdir -p "$temp/persistent" - cp -r "$temp/ssh" "$temp/persistent/ssh" + cp -r "$temp/etc" "$temp/persistent/etc" nixos-anywhere --extra-files "$temp" --store-paths $(nix-build -A nixosConfigurations.\"$machine\".config.system.build.diskoScript) $(nix-build -A nixosConfigurations.\"$machine\".config.system.build.toplevel) "''${extra_args[@]}" root@"$ip" popd '' - -