From ed7ca8ec97e5189ef39b9ded6b2451d69d8c1ad6 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Wed, 9 Sep 2026 20:26:43 +0100 Subject: [PATCH] pc/laptop: do not enable tlp if tuned is enabled TuneD is a maintained alternative for power-profile-daemon. If the user manually enables it we should not try to enable TLP, otherwise they will conflict with each other. --- common/pc/laptop/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/pc/laptop/default.nix b/common/pc/laptop/default.nix index 5711e531..5ad4b777 100644 --- a/common/pc/laptop/default.nix +++ b/common/pc/laptop/default.nix @@ -3,5 +3,7 @@ { imports = [ ../. ]; - services.tlp.enable = lib.mkDefault (!config.services.power-profiles-daemon.enable); + services.tlp.enable = lib.mkDefault ( + !config.services.power-profiles-daemon.enable && !config.services.tuned.enable + ); }