mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
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
1 changed files with 4 additions and 1 deletions
|
@ -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