at 25.11-pre 564 B view raw
1{ 2 config, 3 pkgs, 4 lib, 5 ... 6}: 7 8{ 9 10 ###### interface 11 12 options = { 13 14 networking.enableIntel2200BGFirmware = lib.mkOption { 15 default = false; 16 type = lib.types.bool; 17 description = '' 18 Turn on this option if you want firmware for the Intel 19 PRO/Wireless 2200BG to be loaded automatically. This is 20 required if you want to use this device. 21 ''; 22 }; 23 24 }; 25 26 ###### implementation 27 28 config = lib.mkIf config.networking.enableIntel2200BGFirmware { 29 30 hardware.firmware = [ pkgs.intel2200BGFirmware ]; 31 32 }; 33 34}