Nvidia questions

I installed manjaro with KDE and run sudo mhwd -a pci xxxx to auto install my nvidia drivers. It was smooth!

However, how exactly can I switch to Nvidia card globally, not just per application (permanently, perhaps, or just once)?
How do I know if I need to set DRI_PRIME=0 or DRI_PRIME=1 for my Nvidia and how do I check if it is selected?

I installed mangohud and goverlay and set globally enabled in goverlay, yet I still don’t have nvidia enabled. I don’t get what I’m doing wrong here.
When I run lspci I see that goverlay selects the other card(intel) and the nvidia is not present there(in goverlay).
Any help please?

Do you have a hybrid system?

mhwd -li -l 
inxi -Farz

If you do and its using prime … you need to use prime-run any time you want to use the nvidia.

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'

The wiki covers most introductory things

Why you don’t use the simple UI to install the nvidia driver?

For KDE its in Taskbar>settings>system settings>Hardware Configuration.