mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Add if/then
This commit is contained in:
parent
1e37870e70
commit
ff818891e4
1 changed files with 22 additions and 1 deletions
23
install.sh
23
install.sh
|
@ -116,5 +116,26 @@ elif [ $desktopChoice = 4 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
sudo nixos-install --impure --flake /mnt/etc/nixos#vm
|
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
|
#sudo nixos-install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue