Recommended way to have integrated Intel as primary GPU and Nvidia for offloading?

Sounds like the Nvidia image is recommended in this case from this thread:

I’m still interested in what else is needed to set the Intel as the primary and Nvidia for offloading.