From b157eb2377078097d2a889073e4b771c6c3dfb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 8 Aug 2024 14:43:17 +0300 Subject: [PATCH] mtworx: +tlp --- hosts/mtworx/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index 043aa2c..1c91e85 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -143,6 +143,14 @@ 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;