1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6
7 ###### interface
8
9 options = {
10
11 hardware.enableAllFirmware = mkOption {
12 default = false;
13 type = types.bool;
14 description = ''
15 Turn on this option if you want to enable all the firmware shipped in linux-firmware.
16 '';
17 };
18
19 };
20
21
22 ###### implementation
23
24 config = mkIf config.hardware.enableAllFirmware {
25 hardware.firmware = [ pkgs.firmwareLinuxNonfree pkgs.intel2200BGFirmware ];
26 };
27
28}