diff options
author | Soispha <soispha@vhack.eu> | 2023-07-02 14:14:48 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-10 16:44:22 +0200 |
commit | 9648ecf14a6cd15edace65747a1c053c5b501c50 (patch) | |
tree | e08e7b5d221c6ae3d3181b971515a2bfb47ff4b3 /bootstrap | |
parent | Fix(bootstrap): Don't wrap eev, as dash does not support exec (diff) | |
download | nixos-config-9648ecf14a6cd15edace65747a1c053c5b501c50.tar.gz nixos-config-9648ecf14a6cd15edace65747a1c053c5b501c50.zip |
Fix(bootstrap): Use correct environment variable name
Diffstat (limited to 'bootstrap')
-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" |