power saving, starr, jelly, akkoma
This commit is contained in:
parent
8f6d63909a
commit
a0d19a672e
20 changed files with 439 additions and 22 deletions
21
power.nix
Normal file
21
power.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue