diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-25 04:46:15 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-25 04:46:15 +0000 |
commit | f9a1ac62972dc755c70a8cf2c8b28989d6832369 (patch) | |
tree | be425b2ee138b37de300b580f3d92812274ca75c /common | |
parent | 88bd1266a78d88bea8efaec6ed6e2ba714f0872b (diff) |
common/pc/laptop: disable cpuFreqGovernor
Diffstat (limited to 'common')
-rw-r--r-- | common/pc/laptop/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/pc/laptop/default.nix b/common/pc/laptop/default.nix index 305c160..5da1e60 100644 --- a/common/pc/laptop/default.nix +++ b/common/pc/laptop/default.nix @@ -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; } |