improve deploy script
This commit is contained in:
@@ -1,2 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
nixos-rebuild boot --flake .#muffin --target-host root@server-public --build-host root@server-public --verbose
|
ARG="$*"
|
||||||
|
if [ "$ARG" = "" ]; then
|
||||||
|
ARG="boot"
|
||||||
|
fi
|
||||||
|
|
||||||
|
nixos-rebuild "$ARG" --flake .#muffin --target-host root@server-public --build-host root@server-public --verbose
|
||||||
|
|||||||
Reference in New Issue
Block a user