diff options
Diffstat (limited to 'nixops/scripts/nixops_wrap')
-rwxr-xr-x | nixops/scripts/nixops_wrap | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixops/scripts/nixops_wrap b/nixops/scripts/nixops_wrap index c23d308..1efe8a9 100755 --- a/nixops/scripts/nixops_wrap +++ b/nixops/scripts/nixops_wrap | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | if [ -z "$NIXOPS_CONFIG_PASS_PATH" ]; then | 3 | if [ -z "$NIXOPS_CONFIG_PASS_SUBTREE_PATH" ]; then |
4 | echo "Please set NIXOPS_CONFIG_PASS_PATH to the password-store environment file path" | 4 | echo "Please set NIXOPS_CONFIG_PASS_SUBTREE_PATH to the password-store subtree path" |
5 | exit 1; | 5 | exit 1; |
6 | fi | 6 | fi |
7 | 7 | ||
@@ -15,7 +15,7 @@ finish() { | |||
15 | 15 | ||
16 | trap finish EXIT | 16 | trap finish EXIT |
17 | 17 | ||
18 | pass show "$NIXOPS_CONFIG_PASS_PATH" >> $TEMP | 18 | pass show "$NIXOPS_CONFIG_PASS_SUBTREE_PATH/NixConfig" >> $TEMP |
19 | nixops set-args --argstr environment "$TEMP" | 19 | nixops set-args --argstr environment "$TEMP" |
20 | 20 | ||
21 | nixops "$@" | 21 | nixops "$@" |