Skip to content

Instantly share code, notes, and snippets.

@odra
Last active February 11, 2026 23:43
Show Gist options
  • Select an option

  • Save odra/e682d6a772b82b94bb872a11a9ce615d to your computer and use it in GitHub Desktop.

Select an option

Save odra/e682d6a772b82b94bb872a11a9ce615d to your computer and use it in GitHub Desktop.
Fedora Silverblue Nvidia Setup

Silverblue Setup

Nvidia

Enable RPM Fusion Repositories:

$ rpm-ostree install \
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
...
$ systemctl reboot

Layer nvidia packages from rpmfusion:

$ rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda 

Blacklist upstream drivers (nova_core is optional, depends on kernel version and machine setup):

$ rpm-ostree kargs --append=rd.driver.blacklist=nouveau,nova_core --append=modprobe.blacklist=nouveau,nova_core --append=nvidia-drm.modeset=1

Reboot:

$ systemctl reboot

Test:

$ nvidia-smi

Video Codecs

Layer video codecs packages, so Firefox can play emebdded videos:

$ rpm-ostree install libavcodec-freeworld
...
$ systemctl reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment