I've spend way too long to get the NVIDIA-driver to work, as well as taming the overheating problem which has haunted my ideapad forever. I hope this config can save somebody else lots of time (please comment!), as I experienced weird catch22 scenarios because of the dual-video driver.
note: if you laptop still overheats, lower the
CPU_SCALING_MAX_FREQ
variables.
You can now run apps on the NVIDIA GPU by creating this nvidia-run
shellscript-wrapper: