From 1fe5b7686d83ab6fc3af7304332ee69940300999 Mon Sep 17 00:00:00 2001 From: Bryan Honof Date: Thu, 27 May 2021 00:15:49 +0200 Subject: [PATCH] Update common/pc/laptop/default.nix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- common/pc/laptop/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/pc/laptop/default.nix b/common/pc/laptop/default.nix index 87bdca4..0117956 100644 --- a/common/pc/laptop/default.nix +++ b/common/pc/laptop/default.nix @@ -6,9 +6,5 @@ # 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 - (if config.services.power-profiles-daemon.enable == true then - false - else - true); + services.tlp.enable = lib.mkDefault !config.services.power-profiles-daemon.enable; }