about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-11-02T08·40+0300
committertazjin <tazjin@tvl.su>2023-11-02T14·13+0000
commit61c99b7ce71add1fb7d09710ac3a217ff646e348 (patch)
tree4ac7163912657c820127ceb5df64c978a0d622a0
parentceca00a866f7e02b5c9c8d61cd522ea265a6eb19 (diff)
fix(tazjin/khamovnik): enable services.throttled r/6923
This can apparently work around some of the CPU throttling bugs on
~modern~ computers.

Change-Id: I807ece85d3eba53857a1cb1e73a33f7924538e96
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9895
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
-rw-r--r--users/tazjin/nixos/khamovnik/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/tazjin/nixos/khamovnik/default.nix b/users/tazjin/nixos/khamovnik/default.nix
index 957397f281ef..789dbcee5df5 100644
--- a/users/tazjin/nixos/khamovnik/default.nix
+++ b/users/tazjin/nixos/khamovnik/default.nix
@@ -109,6 +109,9 @@ in
     pulse.enable = true;
   };
 
+  # Try to work around Intel CPU throttling bugs
+  services.throttled.enable = true;
+
   hardware.bluetooth.enable = true;
   users.users.tazjin.extraGroups = [ "tss" ];