8 lines
138 B
Bash
Executable file
8 lines
138 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
set -x
|
|
|
|
hostname=$1
|
|
shift 1
|
|
|
|
nixos-rebuild --flake .#$hostname --target-host root@$hostname -s "$@"
|