Fedora 36 Nvidia as primary GPU

For KDE (In order to use your Nvidia GPU as PRIMARY GPU in wayland session)

From KDE Doc : Plasma/Wayland/Nvidia - KDE Community Wiki

Fedora/Rpmfusion already cover that parts so make sure you installed nvidia driver as usual from rpmfusion.

Next part is

You can pass the environment variable KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0

to KWin in order to manually choose the order it uses the devices in.

For GNOME

I hope that will help out.

For X11 you can modify your xorg.conf as usual (KDE,Gnome, etc)