diff options
author | Sarah Brofeldt <sbrofeldt@gmail.com> | 2017-02-04 10:31:40 +0100 |
---|---|---|
committer | Sarah Brofeldt <sbrofeldt@gmail.com> | 2017-02-04 10:44:44 +0100 |
commit | ac6606fbf4325b50e8bfbf991643d7b3fd6cee37 (patch) | |
tree | 4062618a869e10c484051d0f9a1541eb551ad341 /nixos/modules/hardware/video | |
parent | f5db07b158459b00d037a4b6b62cae3db8e2bc13 (diff) |
bumblebee service: Fix type error when pmMethod = "bbswitch"
Diffstat (limited to 'nixos/modules/hardware/video')
-rw-r--r-- | nixos/modules/hardware/video/bumblebee.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/bumblebee.nix b/nixos/modules/hardware/video/bumblebee.nix index 3ce97ad31c22..fbf3f20885b5 100644 --- a/nixos/modules/hardware/video/bumblebee.nix +++ b/nixos/modules/hardware/video/bumblebee.nix @@ -76,7 +76,7 @@ in config = mkIf cfg.enable { boot.blacklistedKernelModules = [ "nvidia-drm" "nvidia" "nouveau" ]; - boot.kernelModules = optional useBbswitch [ "bbswitch" ]; + boot.kernelModules = optional useBbswitch "bbswitch"; boot.extraModulePackages = optional useBbswitch kernel.bbswitch ++ optional useNvidia kernel.nvidia_x11; environment.systemPackages = [ bumblebee primus ]; |