diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index 1c91e85..043aa2c 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -143,14 +143,6 @@ in }; }; - services.tlp = { - enable = true; - settings = { - START_CHARGE_THRESH_BAT0 = 80; - STOP_CHARGE_THRESH_BAT0 = 87; - }; - }; - users.extraGroups.vboxusers.members = [ "motiejus" ]; security.tpm2.enable = true; diff --git a/modules/profiles/desktop/default.nix b/modules/profiles/desktop/default.nix index 77f788f..3b89d5d 100644 --- a/modules/profiles/desktop/default.nix +++ b/modules/profiles/desktop/default.nix @@ -95,10 +95,11 @@ in tlp = { enable = true; settings = { - PLATFORM_PROFILE_ON_AC = "performance"; - PLATFORM_PROFILE_ON_BAT = "balanced"; + START_CHARGE_THRESH_BAT0 = 80; + STOP_CHARGE_THRESH_BAT0 = 87; }; }; + }; programs = {