homelab/nixos/deploy.sh
2025-03-29 18:36:10 +01:00

5 lines
141 B
Bash
Executable file

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