Merge pull request #263 from bryanhonof/tlp-and-power-profiles-daemon-clash

Tlp and power profiles daemon clash
This commit is contained in:
Jörg Thalheim 2021-05-29 10:27:28 +02:00 committed by GitHub
commit 1facb18f43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}