Add if/then

This commit is contained in:
Aaron Honeycutt 2024-01-08 17:14:33 +00:00
parent 1e37870e70
commit ff818891e4

View file

@ -116,5 +116,26 @@ elif [ $desktopChoice = 4 ]; then
fi
# Install
if [ $deviceChoice = 1 ]; then
echo "shepard"
elif [ $deviceChoice = 2 ]; then
echo "garrus"
elif [ $deviceChoice = 3 ]; then
echo "hp-omen"
elif [ $deviceChoice = 4 ]; then
echo "pbp"
elif [ $deviceChoice = 5 ]; then
echo "thelio-nvidia"
elif [ $deviceChoice = 6 ]; then
echo "darp9"
elif [ $deviceChoice = 7 ]; then
sudo nixos-install --impure --flake /mnt/etc/nixos#vm
fi
#sudo nixos-install