nixfleet/packages/deploy/deploy.sh

6 lines
125 B
Bash

host=${1-mothership}
nixos-rebuild switch \
--flake ".#${host}" \
--target-host "root@${host}.fleet" \
"${@:2}"