From a766e88e7c8d87aa6bdbde796d3a454f7b5e546e Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 9 Jun 2023 12:47:48 +0200 Subject: ma hw/tp-x2x0: only use tlp when power-profiles is not enabled --- makefu/2configs/hw/tp-x2x0.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefu') diff --git a/makefu/2configs/hw/tp-x2x0.nix b/makefu/2configs/hw/tp-x2x0.nix index 8d3e17c7f..bbed3f430 100644 --- a/makefu/2configs/hw/tp-x2x0.nix +++ b/makefu/2configs/hw/tp-x2x0.nix @@ -37,7 +37,7 @@ emulateWheel = true; }; - services.tlp.enable = true; + services.tlp.enable = ! config.services.power-profiles-daemon.enable; services.tlp.settings = { # BUG: http://linrunner.de/en/tlp/docs/tlp-faq.html#erratic-battery START_CHARGE_THRESH_BAT0 = 95; -- cgit v1.2.3