about summary refs log tree commit diff
path: root/nixos/modules/hardware/network/rtl8192c.nix
blob: bf328c2d3224a221db6ad0636808ff8fbaea1a9c (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
{pkgs, config, lib, ...}:

{

  ###### interface

  options = {

    networking.enableRTL8192cFirmware = lib.mkOption {
      default = false;
      type = lib.types.bool;
      description = ''
        Turn on this option if you want firmware for the RTL8192c (and related) NICs.
      '';
    };

  };


  ###### implementation

  config = lib.mkIf config.networking.enableRTL8192cFirmware {
    hardware.enableRedistributableFirmware = true;
  };

}