This is a quick one because the installation works in the same way as it did in Fedora 34.
First, I added the RPM Fusion repositories as described here.
sudo dnf install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Next, I installed the akmod-nvidia
package like it is explained on
this page.
sudo dnf update
sudo dnf install akmod-nvidia
One reboot later, the NVIDIA module was up and running.
$ lsmod | grep nvidia
nvidia_drm 69632 4
nvidia_modeset 1200128 8 nvidia_drm
nvidia 35332096 408 nvidia_modeset
drm_kms_helper 303104 1 nvidia_drm
drm 630784 8 drm_kms_helper,nvidia,nvidia_drm
For completeness: my computer has an NVIDIA GT1030.
I hope this helped you, and thank you for reading.