Hello,
What you have to do is to add it to the config file in /etc/X11/mhwd.d/nvidia.conf
It can be added to Section "Device"
but also can be added to Section "Screen"
but that in case you create a fixed layout. See that entire comment so you understand the context and do not pay attention to the kwin related part.