mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 21:13:30 +01:00
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.
10 lines
178 B
Nix
10 lines
178 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
imports = [ ../. ];
|
|
|
|
services.tlp.enable = lib.mkDefault (
|
|
!config.services.power-profiles-daemon.enable && !config.services.tuned.enable
|
|
);
|
|
}
|