From fdbef8f73061987aae5df851e61456fddf21092b Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 27 Mar 2024 22:13:08 +0000 Subject: [PATCH] Add auto-cpufreq --- machines/talos/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/machines/talos/configuration.nix b/machines/talos/configuration.nix index 19fe03b..cd9e8c9 100644 --- a/machines/talos/configuration.nix +++ b/machines/talos/configuration.nix @@ -35,4 +35,16 @@ }; services.tailscale.enable = true; + + services.auto-cpufreq.enable = true; + services.auto-cpufreq.settings = { + battery = { + governor = "powersave"; + turbo = "never"; + }; + charger = { + governor = "performance"; + turbo = "auto"; + }; + }; } \ No newline at end of file