FEAT: add NVIDIA drivers

This commit is contained in:
2025-11-19 16:28:13 +01:00
parent 7c80d36141
commit cbdd1be932
2 changed files with 12 additions and 0 deletions

View File

@@ -16,4 +16,15 @@ systemctl disable sshd.service
curl -fsSLo /etc/yum.repos.d/vscode.repo https://packages.microsoft.com/yumrepos/vscode/config.repo
rpm-ostree install code
rm /etc/yum.repos.d/vscode.repo
# https://rpmfusion.org/Howto/NVIDIA
# https://www.tecmint.com/install-nvidia-drivers-in-linux
dnf5 install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf5 install -y kernel-devel kernel-headers gcc make dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig \
akmod-nvidia xorg-x11-drv-nvidia-cuda \
libva-utils vdpauinfo
dnf5 remove -y rpmfusion-free-release rpmfusion-nonfree-release
dnf5 clean all