mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 01:59:45 +01:00
pc/laptop: fix evaluation on 20.09 (#270)
This commit is contained in:
parent
684ae160a6
commit
3fc630f84c
1 changed files with 2 additions and 1 deletions
|
@ -6,5 +6,6 @@
|
|||
# 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);
|
||||
services.tlp.enable = lib.mkDefault ((lib.versionOlder (lib.versions.majorMinor lib.version) "21.05")
|
||||
|| !config.services.power-profiles-daemon.enable);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue