make deploy script better

This commit is contained in:
2025-06-05 19:15:05 -07:00
parent 9d089208a7
commit f83ef0d7d9

View File

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