1
0
mirror of https://github.com/kmein/niveum synced 2026-03-28 23:31:07 +01:00

feat(fatteh): integrate into niveum

This commit is contained in:
2024-03-19 20:31:02 +01:00
parent d4cb0abc24
commit f57d1780fb
14 changed files with 71 additions and 134 deletions

20
configs/tlp.nix Normal file
View File

@@ -0,0 +1,20 @@
{
config,
pkgs,
...
}: {
boot.extraModulePackages = with config.boot.kernelPackages; [
tp_smapi
acpi_call
];
boot.kernelModules = ["tp_smapi" "acpi_call"];
environment.systemPackages = [pkgs.tpacpi-bat pkgs.powertop];
services.tlp = {
enable = true;
settings = {
START_CHARGE_THRESH_BAT0 = 80;
STOP_CHARGE_THRESH_BAT0 = 95;
};
};
}