diff options
author | (cdep)illabout <cdep.illabout@gmail.com> | 2018-12-29 22:09:47 +0900 |
---|---|---|
committer | (cdep)illabout <cdep.illabout@gmail.com> | 2019-01-01 19:18:12 +0900 |
commit | b0f10d2d531ebac8130c8f111570311ac758da8e (patch) | |
tree | 8f3d2d9d826d761f389ffd7219e43dfb68eba5a5 /nixos/doc | |
parent | c31c0558ddad7161a4025117694197264cda9750 (diff) | |
download | nixlib-b0f10d2d531ebac8130c8f111570311ac758da8e.tar nixlib-b0f10d2d531ebac8130c8f111570311ac758da8e.tar.gz nixlib-b0f10d2d531ebac8130c8f111570311ac758da8e.tar.bz2 nixlib-b0f10d2d531ebac8130c8f111570311ac758da8e.tar.lz nixlib-b0f10d2d531ebac8130c8f111570311ac758da8e.tar.xz nixlib-b0f10d2d531ebac8130c8f111570311ac758da8e.tar.zst nixlib-b0f10d2d531ebac8130c8f111570311ac758da8e.zip |
cpufreq: add option for setting the cpu max and min frequencies
This adds a NixOS option for setting the CPU max and min frequencies with `cpufreq`. The two options that have been added are: - `powerManagement.cpufreq.max` - `powerManagement.cpufreq.min` It also adds an alias to the `powerManagement.cpuFreqGovernor` option as `powerManagement.cpufreq.governor`. This updates the installer to use the new option name. It also updates the manual with a note about the new name.
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1903.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1903.xml b/nixos/doc/manual/release-notes/rl-1903.xml index 89d9f48aedd3..65761c12c6a4 100644 --- a/nixos/doc/manual/release-notes/rl-1903.xml +++ b/nixos/doc/manual/release-notes/rl-1903.xml @@ -408,6 +408,16 @@ from nixpkgs due to the lack of maintainers. </para> </listitem> + <listitem> + <para> + The <option>powerManagement.cpuFreqGovernor</option> option has been + aliased to <option>powerManagement.cpufreq.governor</option>. On laptops, + <option>powerManagement.cpuFreqGovernor</option> is sometimes set in + <literal>/etc/nixos/hardware-configuration.nix</literal>, so you can + rename it to the new name, or run + <literal>nixos-generate-config</literal> again. + </para> + </listitem> </itemizedlist> </section> </section> |