sudo dnf update -y # and reboot if you are not on the latest kernel
sudo dnf install akmod-nvidia # rhel/centos users can use kmod-nvidia instead
sudo dnf install xorg-x11-drv-nvidia-cuda #optional for cuda/nvdec/nvenc support
just choose packages you need and wait 5 minutes so modules are build and loaded
that is for Gnome you are on KDE difrent desktop enviromnet fully
and on gnome software on that link it has been removed due secure boot since you need to do same steps depending on what Desktop you are using if you want NVIDIA drivers work on Secure boot enabled