diff options
author | Michael Peyton Jones <me@michaelpj.com> | 2019-07-19 11:03:36 +0100 |
---|---|---|
committer | Michael Peyton Jones <me@michaelpj.com> | 2019-10-16 22:31:05 +0100 |
commit | 2bf94227c1efbf47e99f55dacd799fffe87207e8 (patch) | |
tree | 570037970903307339c73362bba09b3de86d57c0 /lenovo/thinkpad/x1-extreme | |
parent | ed0d3cc198557b9260295aa8a384dd5080706aee (diff) |
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.
Diffstat (limited to 'lenovo/thinkpad/x1-extreme')
-rw-r--r-- | lenovo/thinkpad/x1-extreme/gen2/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lenovo/thinkpad/x1-extreme/gen2/default.nix b/lenovo/thinkpad/x1-extreme/gen2/default.nix index 912cc95..6b0ebbd 100644 --- a/lenovo/thinkpad/x1-extreme/gen2/default.nix +++ b/lenovo/thinkpad/x1-extreme/gen2/default.nix @@ -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; } |