blacklist nvidia-current blacklist nouveau # Map removal of modules to correct command # This allows modprobe -r nvidia to work remove nvidia rmmod nvidia # Needed for bumblebee as it tries to remove nvidia-current, which is the module # load name. The driver is still "nvidia" once loaded, thus the removal fails. remove nvidia-current rmmod nvidia # Switch card off when booting, on when unloading bbswitch (shutdown) options bbswitch load_state=0 unload_state=1