Made iwlwifi optional, with false default
svn path=/nixos/trunk/; revision=10288
This commit is contained in:
parent
01004362f2
commit
3166d9f687
|
@ -341,7 +341,7 @@
|
|||
};
|
||||
|
||||
enableIntel3945ABGFirmware = mkOption {
|
||||
default = true;
|
||||
default = false;
|
||||
description = "
|
||||
This option enables automatic loading of the firmware for the Intel
|
||||
PRO/Wireless 3945ABG.
|
||||
|
|
|
@ -147,7 +147,8 @@ rec {
|
|||
# single tree of symlinks because modprobe only supports one
|
||||
# directory.
|
||||
modulesTree = pkgs.module_aggregation (
|
||||
[kernel pkgs.iwlwifi]
|
||||
[kernel]
|
||||
++ pkgs.lib.optional config.networking.enableIntel3945ABGFirmware pkgs.iwlwifi
|
||||
# !!! this should be declared by the xserver Upstart job.
|
||||
++ pkgs.lib.optional (config.services.xserver.enable && config.services.xserver.videoDriver == "nvidia") pkgs.nvidiaDrivers
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue