From 4efd5fd4b3af21f974209b8dd611e0032606e991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 8 Aug 2024 21:44:15 +0300 Subject: [PATCH] tlp: move to desktop/ rm platform profile --- hosts/mtworx/configuration.nix | 8 -------- modules/profiles/desktop/default.nix | 5 +++-- 2 files changed, 3 insertions(+), 10 deletions(-) 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 = {