Just run
sudo prime-select on-demand
and reboot. This will run everything on the intel igpu, only leaving a 4MB process on the nvidia left.
If you also want to get of that, additionally create the file you mentioned in your first post, you’ll then have to make sure the nvidia-persistenced daemon is started on boot.