aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/install
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-19 19:14:57 +0100
committerene <ene@sils.li>2023-02-19 19:14:57 +0100
commit42cca50460c544f02637198748604f3fe8f0b7c7 (patch)
tree6b9622945f56d490f77da0ed5efa834650a0bdd8 /bootstrap/install
parentFix(system): Fully embrace the home packages (diff)
downloadnixos-config-42cca50460c544f02637198748604f3fe8f0b7c7.zip
Fix(bootstrap): Fix a copy and paste oversight
Diffstat (limited to 'bootstrap/install')
-rwxr-xr-xbootstrap/install4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/install b/bootstrap/install
index a5d3aeb2..7ec982bc 100755
--- a/bootstrap/install
+++ b/bootstrap/install
@@ -112,9 +112,9 @@ case $result in
[ $host = "q" ] && exit 1
if awk -v host $host '{$0 ~ host}' "$hosts" && [ "$host" != "" ]; then
- host=$(awk -v i $host 'NR==i' "$hosts");
+ host=$(awk -v i="$host" '{if (NR==i) {print $0}}' "$hosts");
else
- warning "No disk selected. Select a disk to continue.\n"
+ warning "No host selected. Select a host to continue.\n"
fi
done
nixos-install --flake git+https://git.sils.li/ene/nixos-config#${host} --no-root-passwd