Merge pull request #34384 from gnidorah/nvidia-optimus

modules/nvidia-optimus: fix module blacklisting
This commit is contained in:
Jörg Thalheim 2018-02-10 12:14:21 +00:00 committed by GitHub
commit 2cab78bc1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ let kernel = config.boot.kernelPackages; in
###### implementation
config = lib.mkIf config.hardware.nvidiaOptimus.disable {
boot.blacklistedKernelModules = ["nouveau" "nvidia" "nvidiafb"];
boot.blacklistedKernelModules = ["nouveau" "nvidia" "nvidiafb" "nvidia-drm"];
boot.kernelModules = [ "bbswitch" ];
boot.extraModulePackages = [ kernel.bbswitch ];