deploy: pass in proper args to install
This commit is contained in:
parent
ab34df7aea
commit
00e8ac4c77
3
deploy
3
deploy
@ -51,6 +51,8 @@ fi
|
|||||||
|
|
||||||
if [ "$1" = "install" ]; then
|
if [ "$1" = "install" ]; then
|
||||||
host="$(resolveAlias $2)"
|
host="$(resolveAlias $2)"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|
||||||
@ -94,7 +96,6 @@ fi
|
|||||||
start
|
start
|
||||||
|
|
||||||
if [ "$1" = "diff" ]; then
|
if [ "$1" = "diff" ]; then
|
||||||
set -x
|
|
||||||
host="$(resolveAlias $2)"
|
host="$(resolveAlias $2)"
|
||||||
mkdir -p .gcroots
|
mkdir -p .gcroots
|
||||||
out=$(nix build -o .gcroots/${host} --json .#nixosConfigurations.${2}.config.system.build.toplevel | jq -r '.[0].outputs.out')
|
out=$(nix build -o .gcroots/${host} --json .#nixosConfigurations.${2}.config.system.build.toplevel | jq -r '.[0].outputs.out')
|
||||||
|
Loading…
Reference in New Issue
Block a user