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 committed 2019-10-16 22:31:05 +01:00
1 parent ed0d3cc198
commit 2bf94227c1
7 files changed
+15 -47

No files matched your search

+3 -2
View File
@@ -1,9 +1,10 @@
{ nixos, pkgs, config, stdenv, ... }:
{ nixos, pkgs, lib, config, stdenv, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/laptop/cpu-throttling-bug.nix
../.
];
services.throttled.enable = lib.mkDefault true;
}