I’m not sure if it’s outputting to that monitor without switching from the Intel integrated graphics to Nvidia dedicated graphics? You may need to try optimus-manager or envycontrol for that.
https://discovery.endeavouros.com/nvidia/optimus-manager-for-nvidia/2021/03/
Or
https://discovery.endeavouros.com/hardware/envy-control/2023/03/