Enable the rpmfusion repo's. For fedora that looks like this.
dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Install the following
dnf install akmod-nvidia kmod-nvidia libva-nvidia-driver nvidia-gpu-firmware nvidia-settings xorg-x11-drv-nvidia
reboot. You're done. This will auto-update the kernel modules for every new kernel release.
dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Install the following
dnf install akmod-nvidia kmod-nvidia libva-nvidia-driver nvidia-gpu-firmware nvidia-settings xorg-x11-drv-nvidia
reboot. You're done. This will auto-update the kernel modules for every new kernel release.