Enable auto-cpufreq for battery savings.

This commit is contained in:
jay
2025-07-21 16:15:33 -04:00
parent 4310c9d517
commit 894babd3da
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ pkgs, ... }: {
# List packages installed in system profile. To search, run:
# $ nix search wget
programs.auto-cpufreq = {
enable = true;
settings = {
charger = {
governor = "performance";
turbo = "auto";
};
battery = {
governor = "power-saver";
turbo = "never";
};
};
};
}