diff options
| author | NAHO <90870942+trueNAHO@users.noreply.github.com> | 2025-09-08 17:47:38 +0200 |
|---|---|---|
| committer | NAHO <90870942+trueNAHO@users.noreply.github.com> | 2025-09-30 19:48:17 +0200 |
| commit | ea7e940d6fbcbed1a4a92b8eed0198543b7c3261 (patch) | |
| tree | 019eb18c924d9d1290fe77819b2ad4e9841790ce /pkgs/development/python-modules/robotframework-pythonlibcore | |
| parent | aa047cc668e925fe6dbc8c4e5b166ff07fc0c038 (diff) | |
nixos/firmware: remove restrictive hardware.enableAllFirmware assertion
Remove the too restrictive hardware.enableAllFirmware assertion
introduced in commit 05aa80c06ab4 ("hardware: add
enableRedistributalFirmware").
This assertion is too restrictive because it enforces globally enabling
unfree packages without allowing explicit whitelisting:
hardware.enableAllFirmware = true;
-nixpkgs.config.allowUnfree = true;
+nixpkgs.config.allowUnfreePredicate = pkg:
+ builtins.elem (lib.getName pkg) [
+ "b43-firmware"
+ "broadcom-bt-firmware"
+ "facetimehd-calibration"
+ "facetimehd-firmware"
+ "xow_dongle-firmware"
+ ];
Declaring neither nixpkgs.config.allowUnfree nor
nixpkgs.config.allowUnfreePredicate without this
hardware.enableAllFirmware assertion results in detailed and instructive
evaluation error messages.
Diffstat (limited to 'pkgs/development/python-modules/robotframework-pythonlibcore')
0 files changed, 0 insertions, 0 deletions
