deploy: add shortcut for local rebuild

This commit is contained in:
Aaron Bieber 2022-10-16 07:06:11 -06:00
parent 14bea41982
commit 495201f465
No known key found for this signature in database

5
deploy
View File

@ -87,6 +87,11 @@ if [ "$1" = "install" ]; then
exit 0
fi
if [ "$1" = "local" ]; then
sudo nixos-rebuild --flake .#$(uname -n) switch
exit $?
fi
if [ "$1" = "update" ]; then
single="$2"
can_sign=0