commit ea2f48cfc96796b89e58673e5335b5fe7cadfaf8
parent b0098f1c8e05251695ec63707067dc0be321bd6b
Author: Daniel Barlow <dan@telent.net>
Date: Sat, 20 May 2023 21:55:37 +0100
liminix-rebuild copy nix-store-paths to /persist
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/min-copy-closure/liminix-rebuild.sh b/pkgs/min-copy-closure/liminix-rebuild.sh
@@ -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"