From adbeb1a5d672df746b1009cddc7d68919f81e7e3 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 17 Aug 2022 14:50:42 +0200 Subject: [PATCH] Enable `throttled` for Thinkpad X1 gen 7 too Even if this device is currently not mentioned upstream between the devices that need this I stressed my machine (using `s-tui`) with and without and I can confirm that it incremented the average CPU frequency during the stress test (from 1.8/2GHz to around 3GHz). --- lenovo/thinkpad/x1/7th-gen/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lenovo/thinkpad/x1/7th-gen/default.nix b/lenovo/thinkpad/x1/7th-gen/default.nix index c886002..1547e05 100644 --- a/lenovo/thinkpad/x1/7th-gen/default.nix +++ b/lenovo/thinkpad/x1/7th-gen/default.nix @@ -1,7 +1,10 @@ +{ lib, ... }: { imports = [ ../. ../../../../common/pc/laptop/acpi_call.nix ../../../../common/pc/laptop/ssd ]; + + services.throttled.enable = lib.mkDefault true; }