Merge pull request #263 from bryanhonof/tlp-and-power-profiles-daemon-clash
Tlp and power profiles daemon clash
This commit is contained in:
commit
1facb18f43
|
@ -3,5 +3,8 @@
|
|||
{
|
||||
imports = [ ../. ];
|
||||
|
||||
services.tlp.enable = lib.mkDefault true;
|
||||
# Gnome 40 introduced a new way of managing power, without tlp.
|
||||
# However, these 2 services clash when enabled simultaneously.
|
||||
# https://github.com/NixOS/nixos-hardware/issues/260
|
||||
services.tlp.enable = lib.mkDefault (!config.services.power-profiles-daemon.enable);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue