From ac6606fbf4325b50e8bfbf991643d7b3fd6cee37 Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Sat, 4 Feb 2017 10:31:40 +0100 Subject: [PATCH] bumblebee service: Fix type error when pmMethod = "bbswitch" --- nixos/modules/hardware/video/bumblebee.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ];