summaryrefslogtreecommitdiff
path: root/arch-magik.sh
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-11-09 13:36:27 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-11-09 13:36:27 +0530
commit3f5ad51d0ca15e685318197822027673c3ad91b7 (patch)
tree9dbb544a3a71058fd3a8dbb65413ff78b0af50ca /arch-magik.sh
parentad35078520c6e29ff8d6d2d592ccf33d7677dde1 (diff)
Adding nvidia support packages+instructions for hyprland
Diffstat (limited to 'arch-magik.sh')
-rwxr-xr-xarch-magik.sh6
1 files changed, 5 insertions, 1 deletions
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