Compare commits

..

2 Commits

Author SHA1 Message Date
42b931668f Merge pull request 'fix: restore use-remote-sudo for nixos-rebuild compatibility' (#62) from stage into master
Some checks failed
Terraform Apply / Terraform Apply (push) Has been cancelled
Reviewed-on: #62
2026-03-01 00:22:57 +00:00
dad409a5b7 fix: restore use-remote-sudo for nixos-rebuild compatibility
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 20s
2026-02-28 23:20:12 +00:00

View File

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