summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/tp-x2x0.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-06-09 12:47:48 +0200
committermakefu <github@syntax-fehler.de>2023-06-09 12:47:48 +0200
commita766e88e7c8d87aa6bdbde796d3a454f7b5e546e (patch)
tree14c1aa39878e5740c71f140cd2e60e17afbda399 /makefu/2configs/hw/tp-x2x0.nix
parent52a8aaf98bd8627dd34d08203fd4d4f0323ca3b6 (diff)
ma hw/tp-x2x0: only use tlp when power-profiles is not enabled
Diffstat (limited to 'makefu/2configs/hw/tp-x2x0.nix')
-rw-r--r--makefu/2configs/hw/tp-x2x0.nix2
1 files changed, 1 insertions, 1 deletions
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;