mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
fix: fix path to ssh folder to add in persistent
This commit is contained in:
parent
d174781133
commit
6a006bf2e7
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
''
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue