diff options
| author | lassulus <lass@xerxes.r> | 2019-09-06 15:33:04 +0200 |
|---|---|---|
| committer | lassulus <lass@xerxes.r> | 2019-09-06 15:33:04 +0200 |
| commit | bb9f3a7f4485afe584ba78e05cb6f4890ff95506 (patch) | |
| tree | 574852e4f6e8f3ec100a5e62472f81bc93fdbe73 /tv/2configs/hw | |
| parent | b92d16a0776fe4493104ff008b7a75ba65b9ad7a (diff) | |
| parent | c1f93fba01f45737d1f18f5832e4948a72e75642 (diff) | |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/hw')
| -rw-r--r-- | tv/2configs/hw/AO753.nix | 2 | ||||
| -rw-r--r-- | tv/2configs/hw/w110er.nix | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/tv/2configs/hw/AO753.nix b/tv/2configs/hw/AO753.nix index 4df5e09..d5b755c 100644 --- a/tv/2configs/hw/AO753.nix +++ b/tv/2configs/hw/AO753.nix @@ -39,5 +39,5 @@ with import <stockholm/lib>; HandleSuspendKey=ignore ''; - krebs.nixpkgs.allowUnfreePredicate = pkg: hasPrefix "broadcom-sta-" pkg.name; + krebs.nixpkgs.allowUnfreePredicate = pkg: packageName pkg == "broadcom-sta"; } diff --git a/tv/2configs/hw/w110er.nix b/tv/2configs/hw/w110er.nix index 55e9482..7d837ea 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" + #]; } ]; |
