about summary refs log tree commit diff
path: root/nixos/modules/profiles/all-hardware.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-05-08 08:50:03 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-05-09 15:29:08 +0100
commit05aa80c06ab45da7c44b6bf1b858a87815665c71 (patch)
tree50a2aeffc0417ef57fe24c97183dc1112968d8d3 /nixos/modules/profiles/all-hardware.nix
parent6e738df1763d5fe94e55348635270b26d08b71d2 (diff)
downloadnixlib-05aa80c06ab45da7c44b6bf1b858a87815665c71.tar
nixlib-05aa80c06ab45da7c44b6bf1b858a87815665c71.tar.gz
nixlib-05aa80c06ab45da7c44b6bf1b858a87815665c71.tar.bz2
nixlib-05aa80c06ab45da7c44b6bf1b858a87815665c71.tar.lz
nixlib-05aa80c06ab45da7c44b6bf1b858a87815665c71.tar.xz
nixlib-05aa80c06ab45da7c44b6bf1b858a87815665c71.tar.zst
nixlib-05aa80c06ab45da7c44b6bf1b858a87815665c71.zip
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.
Diffstat (limited to 'nixos/modules/profiles/all-hardware.nix')
-rw-r--r--nixos/modules/profiles/all-hardware.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix
index 6b4d8c737eba..e8f49fc1fbe6 100644
--- a/nixos/modules/profiles/all-hardware.nix
+++ b/nixos/modules/profiles/all-hardware.nix
@@ -50,7 +50,7 @@
     ];
 
   # Include lots of firmware.
-  hardware.enableAllFirmware = true;
+  hardware.enableRedistributalFirmware = true;
 
   imports =
     [ ../hardware/network/zydas-zd1211.nix ];