diff options
author | tv <tv@krebsco.de> | 2019-09-04 20:17:56 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-09-04 20:28:01 +0200 |
commit | 856ee03a203722722fb646c62c36e4b6aabadaee (patch) | |
tree | 50c4757cb928c784ec4c4b3719ee920219cd7e50 /tv/2configs/hw/w110er.nix | |
parent | 38bf02df0aedd219d70be49c363ccac4da2d09ca (diff) |
treewide: use packageName
Diffstat (limited to 'tv/2configs/hw/w110er.nix')
-rw-r--r-- | tv/2configs/hw/w110er.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tv/2configs/hw/w110er.nix b/tv/2configs/hw/w110er.nix index 55e9482d4..7d837eabc 100644 --- a/tv/2configs/hw/w110er.nix +++ b/tv/2configs/hw/w110er.nix @@ -10,10 +10,11 @@ with import <stockholm/lib>; #hardware.bumblebee.enable = true; #hardware.bumblebee.group = "video"; #hardware.enableRedistributableFirmware= true; - #krebs.nixpkgs.allowUnfreePredicate = pkg: - # hasPrefix "nvidia-x11-" pkg.name || - # hasPrefix "nvidia-persistenced-" pkg.name || - # hasPrefix "nvidia-settings-" pkg.name; + #krebs.nixpkgs.allowUnfreePredicate = pkg: any (eq (packageName pkg)) [ + # "nvidia-x11" + # "nvidia-persistenced" + # "nvidia-settings" + #]; } ]; |