improve deploy script

This commit is contained in:
Simon Gardling 2025-06-05 21:27:41 -07:00
parent e7271c6134
commit c008c1234a
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

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