summaryrefslogtreecommitdiffstats
path: root/dell
diff options
context:
space:
mode:
authorMichael Peyton Jones <me@michaelpj.com>2019-07-19 11:03:36 +0100
committerMichael Peyton Jones <me@michaelpj.com>2019-10-16 22:31:05 +0100
commit2bf94227c1efbf47e99f55dacd799fffe87207e8 (patch)
tree570037970903307339c73362bba09b3de86d57c0 /dell
parented0d3cc198557b9260295aa8a384dd5080706aee (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 'dell')
-rw-r--r--dell/xps/13-9370/default.nix3
1 files changed, 2 insertions, 1 deletions
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;
}