Xorg Ryzen with bundled AMD + Nvidia RTX 2060 (mobile) HDMI interface not detected

The better way to do this on xorg and ubuntu would be:
https://forums.developer.nvidia.com/t/nvidia-xconfig-doesnt-do-what-i-want-it-to-nor-does-nvidia-settings/107883/7?u=generix
Regarding wayland, this would be up to the compositor used, nothing configurable.