add battery saving options

This commit is contained in:
2025-08-25 00:46:52 +02:00
parent 74b5392876
commit 75aa4f74cf
+10
View File
@@ -53,6 +53,16 @@
}; };
}; };
}; };
services.tlp = {
enable = true;
settings = {
CPU_BOOST_ON_BAT = 0;
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
START_CHARGE_THRESH_BAT0 = 90;
STOP_CHARGE_THRESH_BAT0 = 97;
RUNTIME_PM_ON_BAT = "auto";
};
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
grim grim