deploy: pass in proper args to install

This commit is contained in:
Aaron Bieber 2022-08-29 09:49:01 -06:00
parent ab34df7aea
commit 00e8ac4c77
No known key found for this signature in database

3
deploy
View File

@ -51,6 +51,8 @@ fi
if [ "$1" = "install" ]; then
host="$(resolveAlias $2)"
shift
shift
start
@ -94,7 +96,6 @@ fi
start
if [ "$1" = "diff" ]; then
set -x
host="$(resolveAlias $2)"
mkdir -p .gcroots
out=$(nix build -o .gcroots/${host} --json .#nixosConfigurations.${2}.config.system.build.toplevel | jq -r '.[0].outputs.out')