diff --git a/README.md b/README.md index 8f9ed9b..7b8377a 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,4 @@ You should adapt user & disk settings in `disk_config/user.toml` before you buil - Flatpak (with default repository configured) - Chromium - VSCode +- NVIDIA Drivers diff --git a/build_files/build.sh b/build_files/build.sh index ba46bf8..1d4a181 100755 --- a/build_files/build.sh +++ b/build_files/build.sh @@ -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