Replace ad hoc throttling fix with throttled

`throttled` is a service designed to fix the same CPU throttling bug,
but it's an actively maintainted upstream project that we can use.
This commit is contained in:
Michael Peyton Jones
2019-07-19 11:03:36 +01:00
parent ed0d3cc198
commit 2bf94227c1
7 changed files with 15 additions and 47 deletions

View File

@@ -5,7 +5,6 @@ with lib;
{
imports = [
../.
../../../../common/pc/laptop/cpu-throttling-bug.nix
];
# Fixes an issue with incorrect battery reporting. See
@@ -44,4 +43,6 @@ with lib;
videoDrivers = [ "intel" ];
})
];
services.throttled.enable = lib.mkDefault true;
}