Hi,
I have killed my System many times trying to install Nviidia Drivers. The Trick that always worked for me, although descriped by [computersavvy], is to setup a fresh Fedora, at the rpmfusion repos and follow the Instructions:
sudo 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
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
One last thing: DO NOT INSTALL ANY OTHER NVIDIA DRIVERS!!!