From 2bf94227c1efbf47e99f55dacd799fffe87207e8 Mon Sep 17 00:00:00 2001 From: Michael Peyton Jones Date: Fri, 19 Jul 2019 11:03:36 +0100 Subject: 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. --- dell/xps/13-9370/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dell') diff --git a/dell/xps/13-9370/default.nix b/dell/xps/13-9370/default.nix index cd53acd..609aebf 100644 --- a/dell/xps/13-9370/default.nix +++ b/dell/xps/13-9370/default.nix @@ -5,7 +5,6 @@ ../../../common/cpu/intel/kaby-lake ../../../common/pc/laptop ../../../common/pc/laptop/acpi_call.nix - ../../../common/pc/laptop/cpu-throttling-bug.nix ]; # Force S3 sleep mode. See README.wiki for details. @@ -13,4 +12,6 @@ # touchpad goes over i2c boot.blacklistedKernelModules = [ "psmouse" ]; + + services.throttled.enable = lib.mkDefault true; } -- cgit v1.2.3