mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 15:33:29 +01:00
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:
1 parent
83bbc89512
commit
ed7ca8ec97
1 file changed
+3
-1
@@ -3,5 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [ ../. ];
|
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
|
||||||
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user