make deploy script better

This commit is contained in:
Simon Gardling 2025-06-05 19:15:05 -07:00
parent 9d089208a7
commit f83ef0d7d9
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -1,3 +1,8 @@
#!/bin/sh
nixos-rebuild boot --flake . --use-remote-sudo
ARG="$@"
if [ "$ARG" == "" ]; then
ARG="boot"
fi
nixos-rebuild $ARG --flake . --use-remote-sudo