1234567891011#!/run/current-system/sw/bin/bash set -xe git push for i in {0..7..1}; do host="n${i}.local" ssh $host -t "cd system; git pull; nh os switch ."done