tv: cleanup allowUnfree

This commit is contained in:
tv 2016-02-02 20:17:10 +01:00
parent 44b9f90b2c
commit afd09edbd3
2 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,6 @@
{ config, pkgs, ... }: { config, lib, pkgs, ... }:
with lib;
{ {
imports = [ imports = [
@ -39,8 +41,5 @@
HandleSuspendKey=ignore HandleSuspendKey=ignore
''; '';
nixpkgs.config = { nixpkgs.config.allowUnfreePredicate = pkg: hasPrefix "broadcom-sta-" pkg.name;
allowUnfree = false;
allowUnfreePredicate = (x: pkgs.lib.hasPrefix "broadcom-sta-" x.name);
};
} }

View File

@ -14,7 +14,6 @@
networking.wireless.enable = true; networking.wireless.enable = true;
#hardware.enableAllFirmware = true; #hardware.enableAllFirmware = true;
#nixpkgs.config.allowUnfree = true;
#zramSwap.enable = true; #zramSwap.enable = true;
#zramSwap.numDevices = 2; #zramSwap.numDevices = 2;