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

module-based-network
Daniel Barlow 4 months ago
parent b0098f1c8e
commit ea2f48cfc9

@ -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"

Loading…
Cancel
Save