Files
nixos-hardware/common/pc/laptop/default.nix
T
Thiago Kenji Okada ed7ca8ec97 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.
2026-09-09 20:37:12 +01:00

10 lines
178 B
Nix

{ config, lib, ... }:
{
imports = [ ../. ];
services.tlp.enable = lib.mkDefault (
!config.services.power-profiles-daemon.enable && !config.services.tuned.enable
);
}