wu: selectively allowUnfree nvidia-x11

This commit is contained in:
tv 2016-02-02 20:05:12 +01:00
parent ef0ce9065f
commit ba4bfed271

View file

@ -157,7 +157,7 @@ with lib;
nixpkgs.config.chromium.enablePepperFlash = true;
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate = pkg: hasPrefix "nvidia-x11-" pkg.name;
hardware.bumblebee.enable = true;
hardware.bumblebee.group = "video";
hardware.enableAllFirmware = true;