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
1 changed files with 4 additions and 1 deletions

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