PRIME AMD+NVIDIA(no outputs)

530.41.03 - The problem still remains. Nvidia doesn’t want to fix it
The issue manifests itself both in the X session and in Xwayland.

https://forums.developer.nvidia.com/t/performance-regression-on-prime-system-with-520-and-later-driver-series/241178

Did you ever check with a different distribution than nixos?

Yes. Ubuntu. Both with installed drivers from the distribution kit, and independently. The same problems.

On the newest driver 525.105.17 the problem is also not fixed.