From d870cd01e1519fa5cd5ad41708b4c58412f06680 Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Sun, 27 Apr 2025 09:45:39 -0400 Subject: [PATCH] Added step for graphics drivers installation. --- install-arch-linux.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/install-arch-linux.sh b/install-arch-linux.sh index e02afae..78d1859 100755 --- a/install-arch-linux.sh +++ b/install-arch-linux.sh @@ -296,6 +296,24 @@ background = #77767b indicators = ~host;~spacer;~clock;~spacer;~power EOF + print "Would you like to install graphics drivers? Type 'intel' exactly for Intel graphics drivers, 'nvidia' for NVIDIA graphics drivers, or anything else to skip" + read driver + + case $driver in + "intel") + arch-chroot /mnt pacman --noconfirm -S mesa \ + vulkan-intel \ + intel-media-driver \ + libva-intel-driver + ;; + "nvidia") + arch-chroot /mnt pacman --noconfirm -S mesa \ + nvidia-open \ + libva-nvidia-driver + ;; + *) + print "Skipping graphics driver installation." + esac } print "Base install complete. Select profile to install for this system:"