Fix deployment script.

This commit is contained in:
Lorenzo Good 2025-12-14 17:03:55 -05:00
parent b2de27ce91
commit ab3cee9bb0
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0

View file

@ -4,7 +4,7 @@ function deploy() {
nixos-rebuild $1 --flake .#default --target-host admin@lebesgue --use-remote-sudo --verbose nixos-rebuild $1 --flake .#default --target-host admin@lebesgue --use-remote-sudo --verbose
} }
nix flake common nix flake update common
if [[ -n $1 ]]; then if [[ -n $1 ]]; then
deploy $1 deploy $1