1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(wilde): enable tlp

This commit is contained in:
Kierán Meinhardt
2020-09-08 21:29:21 +02:00
parent ecabce3025
commit a32eee9cad

View File

@@ -12,6 +12,14 @@
];
boot.kernelModules = [ "tp_smapi" "acpi_call" ];
environment.systemPackages = [ pkgs.tpacpi-bat ];
services.tlp = {
enable = true;
extraConfig = ''
START_CHARGE_THRESH_BAT0=80
STOP_CHARGE_THRESH_BAT0=95
'';
};
}
];