summary refs log tree commit diff
path: root/modules/config
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-08-10 01:00:09 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-08-10 01:00:09 +0000
commitcddc67a6538e67bc6409fc81be2b8148d74b5f19 (patch)
treeb7da9ded48c56621e941f1907db4f49ecdeb5851 /modules/config
parent163a54886c809b15e2320d4f546f9ff2f8887ab5 (diff)
downloadnixpkgs-cddc67a6538e67bc6409fc81be2b8148d74b5f19.tar
nixpkgs-cddc67a6538e67bc6409fc81be2b8148d74b5f19.tar.gz
nixpkgs-cddc67a6538e67bc6409fc81be2b8148d74b5f19.tar.bz2
nixpkgs-cddc67a6538e67bc6409fc81be2b8148d74b5f19.tar.lz
nixpkgs-cddc67a6538e67bc6409fc81be2b8148d74b5f19.tar.xz
nixpkgs-cddc67a6538e67bc6409fc81be2b8148d74b5f19.tar.zst
nixpkgs-cddc67a6538e67bc6409fc81be2b8148d74b5f19.zip
* Try to load the p4_clockmod kernel module, which provides
  CPU frequency scaling on some Intel CPUs.

svn path=/nixos/trunk/; revision=23082
Diffstat (limited to 'modules/config')
-rw-r--r--modules/config/power-management.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/config/power-management.nix b/modules/config/power-management.nix
index 5e5a568f2ff..ce67285140e 100644
--- a/modules/config/power-management.nix
+++ b/modules/config/power-management.nix
@@ -70,7 +70,10 @@ in
         target = "pm/sleep.d/00sleep-hook";
       };
 
-    boot.kernelModules = [ "acpi_cpufreq" "cpufreq_performance" "cpufreq_powersave" "cpufreq_ondemand" ];
+    boot.kernelModules = 
+      [ "acpi_cpufreq" "cpufreq_performance" "cpufreq_powersave" "cpufreq_ondemand" 
+        "p4_clockmod"
+      ];
     
   };