6 lines
152 B
Bash
Executable file
6 lines
152 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
TARGET_HOST=${1:-root@noisebell-pi.local}
|
|
|
|
exec nixos-rebuild switch --flake ".#pi" --target-host "$TARGET_HOST"
|