homelab/nixos/deploy.sh
2025-05-20 23:43:05 +02:00

5 lines
114 B
Bash
Executable file

#!/bin/bash
nixos-rebuild --impure --flake $(pwd)/$2#$2 --target-host $2@$1 --fast --use-remote-sudo switch