homelab/nixos/deploy.sh

6 lines
141 B
Bash
Raw Normal View History

2025-03-29 17:36:10 +00:00
#!/bin/bash
nixos-rebuild --impure --flake $(pwd)/$2#$2 --build-host ansible@$1 --target-host ansible@$1 --fast --use-remote-sudo switch