mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
27 lines
441 B
Nix
27 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;
|
|
};
|
|
|
|
}
|