power saving, starr, jelly, akkoma

This commit is contained in:
Daniel Kauss Serna 2026-03-20 13:59:08 +01:00
parent 8f6d63909a
commit a0d19a672e
20 changed files with 439 additions and 22 deletions

21
power.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
powerManagement.enable = true;
powerManagement.cpuFreqGovernor = "powersave";
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
CPU_ENERGY_PERF_POLICY_ON_AC = "power";
RUNTIME_PM_ON_AC = "auto";
DISK_DEVICES = "sda";
DISK_SPINDOWN_TIMEOUT_ON_AC = "120 120";
DISK_APM_LEVEL_ON_AC="128 128";
};
};
}