Author: shlevy Date: Sat Jul 23 23:01:39 2011 New Revision: 27913 URL: https://svn.nixos.org/websvn/nix/?rev=27913&sc=1
Log: Add a NixOS module for the rtl8192c firmware Added: nixos/trunk/modules/hardware/network/rtl8192c.nix - copied, changed from r27911, nixos/trunk/modules/hardware/network/rt73.nix Modified: nixos/trunk/modules/module-list.nix Copied and modified: nixos/trunk/modules/hardware/network/rtl8192c.nix (from r27911, nixos/trunk/modules/hardware/network/rt73.nix) ============================================================================== --- nixos/trunk/modules/hardware/network/rt73.nix Sat Jul 23 18:46:16 2011 (r27911, copy source) +++ nixos/trunk/modules/hardware/network/rtl8192c.nix Sat Jul 23 23:01:39 2011 (r27913) @@ -6,11 +6,11 @@ options = { - networking.enableRT73Firmware = pkgs.lib.mkOption { + networking.enableRTL8192cFirmware = pkgs.lib.mkOption { default = false; type = pkgs.lib.types.bool; description = '' - Turn on this option if you want firmware for the RT73 NIC + Turn on this option if you want firmware for the RTL8192c (and related) NICs ''; }; @@ -19,8 +19,8 @@ ###### implementation - config = pkgs.lib.mkIf config.networking.enableRT73Firmware { - hardware.firmware = [ pkgs.rt73fw ]; + config = pkgs.lib.mkIf config.networking.enableRTL8192cFirmware { + hardware.firmware = [ pkgs.rtl8192cfw ]; }; } Modified: nixos/trunk/modules/module-list.nix ============================================================================== --- nixos/trunk/modules/module-list.nix Sat Jul 23 22:58:32 2011 (r27912) +++ nixos/trunk/modules/module-list.nix Sat Jul 23 23:01:39 2011 (r27913) @@ -17,6 +17,7 @@ ./hardware/network/intel-2200bg.nix ./hardware/network/intel-3945abg.nix ./hardware/network/rt73.nix + ./hardware/network/rtl8192c.nix ./hardware/pcmcia.nix ./installer/generations-dir/generations-dir.nix ./installer/grub/grub.nix _______________________________________________ nix-commits mailing list nix-comm...@cs.uu.nl http://mail.cs.uu.nl/mailman/listinfo/nix-commits