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