NixOS-Config/rebuild.sh

4 lines
164 B
Bash
Raw Permalink Normal View History

2025-06-12 00:43:35 +08:00
for i in {1,2,3,5,6,7,8,10,11,12,13,14,17}; do
NIX_SSHOPTS="-p 12022 -o StrictHostKeyChecking=accept-new" nixos-rebuild $1 --target-host g$i --flake .#g$i
done