1. Install Ubuntu 2. Select closed source Nvidia driver during install 3. Done
I don't recall having to mess with secure boot -- is that some dual boot thing?