Akmod broken dependencies

I am trying to install the proprietary NVIDIA drivers on my Fedora 34 Workstation

$ sudo dnf install akmod-nvidia
Last metadata expiration check: 1:26:37 ago on Mon 25 Oct 2021 21:08:32 CEST.
Dependencies resolved.

 Problem: package akmod-nvidia-3:470.74-1.fc34.x86_64 requires nvidia-kmod-common >= 3:470.74, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package xorg-x11-drv-nvidia-3:470.74-1.fc34.x86_64 is filtered out by modular filtering
================================================================================
 Package              Arch   Version            Repository                 Size
================================================================================
Installing:
 akmod-nvidia         x86_64 3:465.24.02-1.fc34 rpmfusion-nonfree          27 k
Installing dependencies:
 akmods               noarch 0.5.6-27.fc34      fedora                     23 k
 dkms                 noarch 2.8.6-1.fc34       updates                    76 k
 kmod-nvidia-latest-dkms
                      x86_64 3:470.57.02-1.fc33 cuda-fedora33-x86_64       25 M
 kmodtool             noarch 1-42.fc34          fedora                     13 k
 nvidia-kmod-common   x86_64 3:470.57.02-3.fc33 cuda-fedora33-x86_64       11 k
 xorg-x11-drv-nvidia-kmodsrc
                      x86_64 3:470.74-1.fc34    rpmfusion-nonfree-updates  24 M
Skipping packages with broken dependencies:
 akmod-nvidia         x86_64 3:470.74-1.fc34    rpmfusion-nonfree-updates  26 k

Transaction Summary
================================================================================
Install  7 Packages
Skip     1 Package

Total download size: 49 M
Installed size: 71 M
Is this ok [y/N]: 

uhm I removed the repos of NVIDIA CUDA that I had under /etc/yum.repos.d.

Now I get this:

$ sudo dnf install akmod-nvidia
Last metadata expiration check: 0:00:09 ago on Mon 25 Oct 2021 22:48:33 CEST.
Error: 
 Problem: conflicting requests
  - package akmod-nvidia-3:465.24.02-1.fc34.x86_64 requires nvidia-kmod-common >= 3:465.24.02, but none of the providers can be installed
  - package akmod-nvidia-3:470.74-1.fc34.x86_64 requires nvidia-kmod-common >= 3:470.74, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:465.24.02-4.fc34.x86_64 is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-3:470.74-1.fc34.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)

You have 3 different package versions conflicting.
470.74 from rpmfusion-nonfree
465.24 from (I think) rpmfusion-nonfree-nvidia-driver
and
470.57 from cuda-fedora33-x86_64

first uninstall all nvidia packages

sudo dnf erase *nvidia*

then verify that only the rpmfusion-free and rpmfusion-nonfree repos are enabled

sudo dnf repolist

If you still have the cuda or rpmfusion-nonfree-nvidia-drivers packages in that list then you need to either disable them during the install with --disablerepo or permanently disable them. I suggest permanently with

sudo dnf config-manager --disable <reponame>

then reinstall the nvidia packages.

sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

That command should bring in the cuda drivers and all the most necessary of the nvidia drivers. Check to make sure all the nvidia packages are only being installed from the rpmfusion-nonfree repo.
If you are planning to suspend or hibernate then the power package also needs to be installed as shown here.