Add auto-cpufreq for adaptive CPU frequency scaling

This commit is contained in:
2025-09-27 14:58:23 +02:00
parent 8d12aec202
commit 6c48caaea8
4 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ ... }:
{
programs.auto-cpufreq = {
enable = true;
settings = {
charger = {
governor = "performance";
turbo = "auto";
};
battery = {
governor = "powersave";
turbo = "auto";
};
};
};
}

View File

@@ -5,6 +5,7 @@
{
imports = [
./packages
./auto-cpufreq.nix
./boot.nix
./flatpak.nix
./fonts.nix