at 16.09-beta 441 B view raw
1{pkgs, config, lib, ...}: 2 3{ 4 5 ###### interface 6 7 options = { 8 9 networking.enableRTL8192cFirmware = lib.mkOption { 10 default = false; 11 type = lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the RTL8192c (and related) NICs. 14 ''; 15 }; 16 17 }; 18 19 20 ###### implementation 21 22 config = lib.mkIf config.networking.enableRTL8192cFirmware { 23 hardware.enableAllFirmware = true; 24 }; 25 26}