tv: cleanup allowUnfree
This commit is contained in:
parent
44b9f90b2c
commit
afd09edbd3
@ -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);
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user