about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbootstrap/01_install2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/01_install b/bootstrap/01_install
index da0a2f9a..cf6ac1cb 100755
--- a/bootstrap/01_install
+++ b/bootstrap/01_install
@@ -48,7 +48,7 @@ while [ "$info_applied" = false ]; do
 done
 
 msg "Checking for incompatibilities..."
-ssd_or_hdd="$(cat /sys/block/"$(basename "$(readlink -f "$NIX_DISK")" | tr -d '\n')"/queue/rotational)"
+ssd_or_hdd="$(cat /sys/block/"$(basename "$(readlink -f "/dev/disk/by-id/$NIX_DISK")" | tr -d '\n')"/queue/rotational)"
 case "$ssd_or_hdd" in
     0)
         msg2 "You seem to use a ssd."