Updated script

This commit is contained in:
Christoffer Martinsson 2025-05-03 10:21:31 +02:00
parent 38fa4306c3
commit 22be948f0a

View File

@ -135,9 +135,9 @@ if [ "$NVIDIA_GPU" == "yes" ] || [ "$NVIDIA_1080_GPU" == "yes" ]; then
# Install nvidia drivers
printf -- '\033[33m Installing NVIDIA drivers\n\033[37m'
if pacman -Qs nvidia-open-dkms >/dev/null; then
if pacman -Qs nvidia-open >/dev/null; then
NEW_KERNEL="no"
elif pacman -Qs nvidia-dkms >/dev/null; then
elif pacman -Qs nvidia >/dev/null; then
NEW_KERNEL="no"
else
NEW_KERNEL="yes"
@ -192,6 +192,7 @@ fi
# Install initial system packages
printf -- '\033[33m Installing initial system packages\n\033[37m'
sudo pacman --noconfirm --needed -S timeshift cmake gawk wget gettext unzip curl inetutils python python-pip python-pipx python-pipenv python-pynvim rustup
yay --noconfirm -S --needed --aur downgrade
rustup update stable
rustup default stable
ln -sf ~/linuxbox/bashrc ~/.bashrc
@ -401,7 +402,7 @@ fi
# Install game utility
if [ "$GAME" == "yes" ]; then
printf -- '\033[33m Installing game utilities\n\033[37m'
sudo pacman -S --noconfirm --needed wine winetricks wine-mono wine-gecko
sudo pacman -S --noconfirm --needed wine winetricks wine-mono wine-gecko qt5-tools
sudo pacman -S --noconfirm --needed steam
yay --noconfirm -S --needed --aur protonup-qt protontricks
yay --noconfirm -S --needed --aur lug-helper
@ -414,7 +415,7 @@ fi
# Install vr utility
if [ "$VR" == "yes" ]; then
printf -- '\033[33m Installing vr utilities\n\033[37m'
sudo pacman -S --noconfirm --needed bc git-lfs cli11 glib2-devel nlohmann-json
sudo pacman -S --noconfirm --needed bc git-lfs cli11 glib2-devel nlohmann-json glew
yay --noconfirm -S --needed --aur monado-vulkan-layers-git
yay --noconfirm -S --needed --aur envision-xr-git
fi