Hello,
I think this is not the way to go:
In the old forum there was a tutorial or two how to get optimus-manager to work.
See here:
https://archived.forum.manjaro.org/t/guide-install-and-configure-optimus-manager-for-hybrid-gpu-setups-intel-nvidia/92196