mtworx tlp

This commit is contained in:
Motiejus Jakštys 2024-10-05 20:05:37 +03:00
parent f8d5d37a57
commit 7545609607
2 changed files with 10 additions and 2 deletions

View File

@ -176,6 +176,14 @@ in
}; };
}; };
services.tlp = {
enable = true;
settings = {
START_CHARGE_THRESH_BAT0 = 95;
STOP_CHARGE_THRESH_BAT0 = 100;
};
};
users.extraGroups.vboxusers.members = [ "motiejus" ]; users.extraGroups.vboxusers.members = [ "motiejus" ];
environment.systemPackages = with pkgs; [ dnsmasq ]; environment.systemPackages = with pkgs; [ dnsmasq ];

View File

@ -97,8 +97,8 @@ in
tlp = { tlp = {
enable = true; enable = true;
settings = { settings = {
START_CHARGE_THRESH_BAT0 = 80; START_CHARGE_THRESH_BAT0 = lib.mkDefault 80;
STOP_CHARGE_THRESH_BAT0 = 87; STOP_CHARGE_THRESH_BAT0 = lib.mkDefault 87;
}; };
}; };