Hey @thebigduck!
I would really advise against the use of GitHub - hertg/egpu-switcher: 🖥🐧 Setup script for eGPUs in Linux (Xorg) as the configurations made by it are generic to all Linux distributions and you never know a misplaced configuration file or an incomplete uninstall procedure might just mess up with your installation.
Please follow the procedures laid down here in this Quick Doc How to Set Nvidia as Primary GPU on Optimus-based Laptops :: Fedora Docs and stick to using X11 (Well, you’d be made to anyway because Nvidia and Wayland aren’t good friends).