lol

Revert "Do not relocate /nix and /tmp to small disks on AWS"

This reverts commit f10bead8fd068f2cb82cbdc1a938a67bd967974c because
it doesn't work - there is no lsblk in the initrd, and there is a
missing backslash.

+1 -5
+1 -5
nixos/modules/virtualisation/amazon-image.nix
··· 79 79 diskNr=$((diskNr + 1)) 80 80 echo "mounting $device on $mp..." 81 81 if mountFS "$device" "$mp" "" ext3; then 82 - if [ -z "$diskForUnionfs" -a \ 83 - $(lsblk -bno size $device) -gt $(lsblk -bno size /dev/xvda1) 84 - ]; then 85 - diskForUnionfs="$mp"; 86 - fi 82 + if [ -z "$diskForUnionfs" ]; then diskForUnionfs="$mp"; fi 87 83 fi 88 84 else 89 85 echo "skipping unknown device type $device"