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.
This commit is contained in:
Thiago Kenji Okada committed 2026-09-09 20:37:12 +01:00
1 parent 83bbc89512
commit ed7ca8ec97
1 file changed
+3 -1
+3 -1
View File
@@ -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
);
}