3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/hardware/network/rtl8192c.nix

27 lines
451 B
Nix
Raw Normal View History

{pkgs, config, ...}:
{
###### interface
options = {
networking.enableRTL8192cFirmware = pkgs.lib.mkOption {
default = false;
type = pkgs.lib.types.bool;
description = ''
2011-07-25 01:36:41 +01:00
Turn on this option if you want firmware for the RTL8192c (and related) NICs.
'';
};
};
###### implementation
config = pkgs.lib.mkIf config.networking.enableRTL8192cFirmware {
hardware.enableAllFirmware = true;
};
}