mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
27 lines
418 B
Nix
27 lines
418 B
Nix
{pkgs, config, lib, ...}:
|
|
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
networking.enableRalinkFirmware = lib.mkOption {
|
|
default = false;
|
|
type = lib.types.bool;
|
|
description = ''
|
|
Turn on this option if you want firmware for the RT73 NIC.
|
|
'';
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = lib.mkIf config.networking.enableRalinkFirmware {
|
|
hardware.enableAllFirmware = true;
|
|
};
|
|
|
|
}
|