From 3f5ad51d0ca15e685318197822027673c3ad91b7 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 9 Nov 2023 13:36:27 +0530 Subject: Adding nvidia support packages+instructions for hyprland --- arch-magik.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'arch-magik.sh') diff --git a/arch-magik.sh b/arch-magik.sh index 6084fd2..cc30109 100755 --- a/arch-magik.sh +++ b/arch-magik.sh @@ -140,13 +140,17 @@ aurprogs='waybar-git wpaperd brave-bin brillo dragon-drop fsearch arc-darkest-th notepadqq galculator pfetch swaylock-effects-git tessen vscodium-bin wlr-randr tofi simple-mtpfs downgrade flameshot-git' # waybar-hyprland-git -nvidia='nvidia nvidia-prime nvidia-utils nvidia-settings' +nvidia='nvidia-dkms nvidia-utils nvidia-settings qt5-wayland qt5ct libva libva-nvidia-driver-git' virt='libvirt qemu virt-manager ebtables libguestfs dnsmasq vde2 bridge-utils openbsd-netcat' yay --noconfirm -S $aurprogs && read -p "Do you wish to install nvidia packages? [y/n]" answer if [[ $answer = y ]] ; then yay -S $nvidia + echo -e "Add modules to /etc/mkinitcpio.conf:\nnvidia nvidia_modeset nvidia_uvm nvidia_drm" + echo -e "Generate new image:\nsudo mkinitcpio --config /etc/mkinitcpio.conf --generate /boot/initramfs-custom.img" + echo -e "Add/create the following in /etc/modprobe.d/nvidia.conf:\n options nvidia-drm modeset=1" + echo "Reboot!" fi read -p "Do you wish to install virtualization packages? [y/n]" answer if [[ $answer = y ]] ; then -- cgit v1.2.3