summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-09-03 18:46:01 +0400
committerMichael Raskin <7c6f434c@mail.ru>2014-09-03 18:46:01 +0400
commitc4d85240e5f8c5ff412f114e272548a0abfc9d99 (patch)
tree11321402be127ca34aff9b2caf5294c5f463ae6a /nixos
parente552fbf521231e13d82f89701bfc9a940be341dd (diff)
parent87b3e7a93cc9f26d362789e520053e9469d4fec1 (diff)
downloadnixlib-c4d85240e5f8c5ff412f114e272548a0abfc9d99.tar
nixlib-c4d85240e5f8c5ff412f114e272548a0abfc9d99.tar.gz
nixlib-c4d85240e5f8c5ff412f114e272548a0abfc9d99.tar.bz2
nixlib-c4d85240e5f8c5ff412f114e272548a0abfc9d99.tar.lz
nixlib-c4d85240e5f8c5ff412f114e272548a0abfc9d99.tar.xz
nixlib-c4d85240e5f8c5ff412f114e272548a0abfc9d99.tar.zst
nixlib-c4d85240e5f8c5ff412f114e272548a0abfc9d99.zip
Merge pull request #3267 from Mathnerd314/cpufreq_noise
Remove non-cpufreq_* modules since they are loaded by udev
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/tasks/cpu-freq.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/tasks/cpu-freq.nix b/nixos/modules/tasks/cpu-freq.nix
index a8c63c134287..70bbee8474eb 100644
--- a/nixos/modules/tasks/cpu-freq.nix
+++ b/nixos/modules/tasks/cpu-freq.nix
@@ -30,9 +30,7 @@ in
 
   config = mkIf (!config.boot.isContainer && config.powerManagement.cpuFreqGovernor != null) {
 
-    boot.kernelModules = [ "acpi-cpufreq" "speedstep-lib" "pcc-cpufreq"
-      "cpufreq_${cfg.cpuFreqGovernor}"
-    ];
+    boot.kernelModules = [ "cpufreq_${cfg.cpuFreqGovernor}" ];
 
     environment.systemPackages = [ cpupower ];