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 '' - -