How to turn off "Shake to wake camera" on Nexus 5?
On the Moto X (2013), this setting is called Quick Capture, and appears in the camera app's settings.  It's likely to be in a similar place on the Nexus. 

(Click image to enlarge)