diff options
author | William A. Kennington III <william@wkennington.com> | 2014-03-17 18:07:46 -0500 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-16 01:10:26 +0200 |
commit | dd209e901cfbac8e68949b4871d6aece935b6215 (patch) | |
tree | da35e56e96f5e7cdf76de6c587ae384991a86cd4 /nixos/modules/config | |
parent | 171a58bcd68e59d8df461cce133cacb67b488bb2 (diff) | |
download | nixpkgs-dd209e901cfbac8e68949b4871d6aece935b6215.tar nixpkgs-dd209e901cfbac8e68949b4871d6aece935b6215.tar.gz nixpkgs-dd209e901cfbac8e68949b4871d6aece935b6215.tar.bz2 nixpkgs-dd209e901cfbac8e68949b4871d6aece935b6215.tar.lz nixpkgs-dd209e901cfbac8e68949b4871d6aece935b6215.tar.xz nixpkgs-dd209e901cfbac8e68949b4871d6aece935b6215.tar.zst nixpkgs-dd209e901cfbac8e68949b4871d6aece935b6215.zip |
cpu-freq: Use cpupower instead of cpufrequtils
Additionally, put the powersave utility in charge of loading the cpufrequency modules based on the governor specified in the configuration.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/power-management.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/modules/config/power-management.nix b/nixos/modules/config/power-management.nix index 4984c0cd826..17f3ed00b9b 100644 --- a/nixos/modules/config/power-management.nix +++ b/nixos/modules/config/power-management.nix @@ -65,11 +65,7 @@ in config = mkIf cfg.enable { - boot.kernelModules = - [ "acpi_cpufreq" "powernow-k8" "cpufreq_performance" "cpufreq_powersave" "cpufreq_ondemand" - "cpufreq_conservative" - ]; - + # FIXME: Implement powersave governor for sandy bridge or later Intel CPUs powerManagement.cpuFreqGovernor = mkDefault "ondemand"; powerManagement.scsiLinkPolicy = mkDefault "min_power"; |