From c6220699c7e43e90ace97b98369adb7a6f029127 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 21 Oct 2021 23:16:42 -0500 Subject: [PATCH] nvidia fix --- 1-setup.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/1-setup.sh b/1-setup.sh index 35a1ecd..d790cfe 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -271,20 +271,7 @@ esac # Graphics Drivers find and install if lspci | grep -E "NVIDIA|GeForce"; then - sudo cat < /etc/pacman.d/hooks/nvidia.hook - [Trigger] - Operation=Install - Operation=Upgrade - Operation=Remove - Type=Package - Target=nvidia - - [Action] - Depends=mkinitcpio - When=PostTransaction - Exec=/usr/bin/mkinitcpio -P -EOF - pacman -S nvidia-dkms dkms --noconfirm --needed + pacman -S nvidia --noconfirm --needed elif lspci | grep -E "Radeon"; then pacman -S xf86-video-amdgpu --noconfirm --needed elif lspci | grep -E "Integrated Graphics Controller"; then