hardware: add enableRedistributalFirmware

Due the recent inclusion of broadcom-bt-firmware in enableAllFirmware,
it was required to set `nixpkgs.config.allowUnfree` to obtain the full
list. To make this dependency more explicit an assertion is added and an
alternative option `enableRedistributalFirmware` is provided to only
obtain firmware with an license allowing redistribution.
This commit is contained in:
Jörg Thalheim
2017-05-09 15:29:08 +01:00
parent 6e738df176
commit 05aa80c06a
16 changed files with 51 additions and 28 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
];
# Include lots of firmware.
hardware.enableAllFirmware = true;
hardware.enableRedistributalFirmware = true;
imports =
[ ../hardware/network/zydas-zd1211.nix ];