mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
26 lines
441 B
Nix
26 lines
441 B
Nix
{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.enableAllFirmware = true;
|
|
};
|
|
|
|
}
|