fix: restore use-remote-sudo for nixos-rebuild compatibility #62

Merged
micqdf merged 1 commits from stage into master 2026-03-01 00:22:57 +00:00

View File

@@ -132,7 +132,7 @@ rebuild_node() {
timeout "$REBUILD_TIMEOUT" nixos-rebuild switch \
--flake "$FLAKE_DIR#$node_name" \
--target-host "$ACTIVE_SSH_USER@$node_ip" \
--sudo
--use-remote-sudo
}
rebuild_node_with_retry() {