mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 09:38:07 +08:00
Merge pull request #263 from bryanhonof/tlp-and-power-profiles-daemon-clash
Tlp and power profiles daemon clash
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user