1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

common/pc/laptop: disable cpuFreqGovernor

This commit is contained in:
Yegor Timoshenko 2017-12-25 04:46:15 +00:00
parent 88bd1266a7
commit f9a1ac6297
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210

View file

@ -7,5 +7,10 @@
"vm.laptop_mode" = lib.mkDefault 5;
};
# TODO: fix in NixOS/nixpkgs
# Disable governor set in hardware-configuration.nix,
# required when services.tlp.enable is true:
powerManagement.cpuFreqGovernor = lib.mkForce null;
services.tlp.enable = lib.mkDefault true;
}