nixos-hardware/common/pc/laptop/default.nix
Bryan Honof 1fe5b7686d
Update common/pc/laptop/default.nix
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-05-27 00:15:49 +02:00

11 lines
321 B
Nix

{ config, lib, ... }:
{
imports = [ ../. ];
# 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;
}