diff options
Diffstat (limited to 'nixos/modules/hardware/network/rtl8192c.nix')
-rw-r--r-- | nixos/modules/hardware/network/rtl8192c.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixos/modules/hardware/network/rtl8192c.nix b/nixos/modules/hardware/network/rtl8192c.nix new file mode 100644 index 00000000000..3aefb7bdd60 --- /dev/null +++ b/nixos/modules/hardware/network/rtl8192c.nix @@ -0,0 +1,26 @@ +{pkgs, config, ...}: + +{ + + ###### interface + + options = { + + networking.enableRTL8192cFirmware = pkgs.lib.mkOption { + default = false; + type = pkgs.lib.types.bool; + description = '' + 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; + }; + +} |