I tried that and rebooted, but it did not switch to nvidia, even after rebooting a couple of times.
❯ optimus-manager --status
Optimus Manager (Client) version 1.2.2
Current GPU mode : intel
GPU mode requested for next login : nvidia
GPU mode for next startup : nvidia
Temporary config path: no