summary refs log blame commit diff
path: root/modules/hardware/network/ralink.nix
blob: 92f34d8643bc14922420164d3f9c096b73659679 (plain) (tree)
1
2
3
4
5
6
7
8
9






                    
 
                                                         


                                 
                                                                  






                       
 
                                                                 
                                      
    
 
 
{pkgs, config, ...}:

{

  ###### interface

  options = {

    networking.enableRalinkFirmware = pkgs.lib.mkOption {
      default = false;
      type = pkgs.lib.types.bool;
      description = ''
        Turn on this option if you want firmware for the RT73 NIC.
      '';
    };

  };


  ###### implementation

  config = pkgs.lib.mkIf config.networking.enableRalinkFirmware {
    hardware.enableAllFirmware = true;
  };

}