at 25.11-pre 528 B view raw
1{ 2 config, 3 lib, 4 pkgs, 5 ... 6}: 7let 8 kernelVersion = config.boot.kernelPackages.kernel.version; 9in 10 11{ 12 13 ###### interface 14 15 options = { 16 17 networking.enableB43Firmware = lib.mkOption { 18 default = false; 19 type = lib.types.bool; 20 description = '' 21 Turn on this option if you want firmware for the NICs supported by the b43 module. 22 ''; 23 }; 24 25 }; 26 27 ###### implementation 28 29 config = lib.mkIf config.networking.enableB43Firmware { 30 hardware.firmware = [ pkgs.b43Firmware_5_1_138 ]; 31 }; 32 33}