Actually, it exists some cases of nvidia driver which are not compatible with the nvidia kernel available in nixpkgs.
We can use the libsOnly = true argument of nvidia_x11, but unfortunately, bumblebee is using the .bin output of nvidia_x11, which is disabled when libsOnly.
Nvidia kernel is not needed when building.
Actually, it exists some cases of nvidia driver which are not compatible with the nvidia kernel available in nixpkgs.
We can use the
libsOnly = true
argument ofnvidia_x11
, but unfortunately,bumblebee
is using the.bin
output ofnvidia_x11
, which is disabled whenlibsOnly
.