summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-02 20:05:12 +0100
committertv <tv@krebsco.de>2016-02-02 20:05:12 +0100
commitba4bfed2715cb3973f9dbaa6f0a6010c59121a54 (patch)
tree0e0a863ccd241c17baed00e36d1a79ddb0c6b43f
parentef0ce9065f312140cbcb51fc5102c4c5d4e80568 (diff)
wu: selectively allowUnfree nvidia-x11
-rw-r--r--tv/1systems/wu.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/1systems/wu.nix b/tv/1systems/wu.nix
index aef8ca761..2fa0e8ab7 100644
--- a/tv/1systems/wu.nix
+++ b/tv/1systems/wu.nix
@@ -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;