liminix-rebuild copy nix-store-paths to /persist

module-based-network
Daniel Barlow 2023-05-20 21:55:37 +01:00
parent b0098f1c8e
commit ea2f48cfc9
1 changed files with 1 additions and 1 deletions

View File

@ -11,5 +11,5 @@ fi
toplevel=$(nix-build "$@" -A outputs.systemConfiguration --no-out-link)
min-copy-closure $target_host $toplevel
$ssh_command $target_host cp -v -fP $toplevel/bin/* /persist
$ssh_command $target_host cp -v -fP $toplevel/bin/* $toplevel/etc/* /persist
$ssh_command $target_host "sync; source /etc/profile; reboot"