diff --git a/common/pc/laptop/default.nix b/common/pc/laptop/default.nix index 946d066..b1e91ad 100644 --- a/common/pc/laptop/default.nix +++ b/common/pc/laptop/default.nix @@ -3,5 +3,12 @@ { 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 = + if config.services.power-profiles-daemon.enable == true then + false + else + true; }