diff options
-rwxr-xr-x | bootstrap/99_ensure_config_variables | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/99_ensure_config_variables b/bootstrap/99_ensure_config_variables index b2ca9792..fa47a974 100755 --- a/bootstrap/99_ensure_config_variables +++ b/bootstrap/99_ensure_config_variables @@ -27,7 +27,7 @@ if ! [ "$NIX_ENVIRONMENT_VARIABLES_SET" ]; then export NIX_HOST="$host" fi - if ! [ "$NIX_DISK" ] && [ "$NIX_INSTALL" ]; then + if ! [ "$NIX_DISK" ] && [ "$INSTALL" ]; then available_disks="$(mktmp)" lsblk -J | jq '.[] | map(.name) | [foreach .[] as $item ({item: null, index: -1}; {$item, index: (.index + 1)})]' > "$available_disks" |