Author: eelco
Date: Mon Jul 12 17:50:02 2010
New Revision: 22567
URL: https://svn.nixos.org/websvn/nix/?rev=22567&sc=1

Log:
* Load the cpufreq modules, since these are not loaded automatically
  by udev.  The kernel can load governors on demand, but if they are
  not loaded, HAL doesn't know about them and they don't show up in
  the KDE System Settings.

Modified:
   nixos/trunk/modules/config/power-management.nix

Modified: nixos/trunk/modules/config/power-management.nix
==============================================================================
--- nixos/trunk/modules/config/power-management.nix     Mon Jul 12 16:40:02 
2010        (r22566)
+++ nixos/trunk/modules/config/power-management.nix     Mon Jul 12 17:50:02 
2010        (r22567)
@@ -69,6 +69,8 @@
       { source = sleepHook;
         target = "pm/sleep.d/00sleep-hook";
       };
+
+    boot.kernelModules = [ "acpi_cpufreq" "cpufreq_performance" 
"cpufreq_powersave" "cpufreq_ondemand" ];
     
   };
 
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to