From 93c05ad88e2548c8b691dd06c82f77e4f91973d2 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sat, 9 May 2026 14:48:57 -0400 Subject: [PATCH] Added cpufreq to default but left disabled On branch main Your branch is up to date with 'origin/main'. Changes to be committed: modified: hosts/default/host-packages.nix --- hosts/default/host-packages.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hosts/default/host-packages.nix b/hosts/default/host-packages.nix index 0febf63..8f9f927 100644 --- a/hosts/default/host-packages.nix +++ b/hosts/default/host-packages.nix @@ -1,4 +1,5 @@ -{pkgs, ...}: { +{configs, pkgs, ...}: { + environment.systemPackages = with pkgs; [ # Add local pacakaged here ]; @@ -9,4 +10,19 @@ ]; }; }; + + + services.auto-cpufreq.enable = false; + services.auto-cpufreq.settings = { + battery = { + governor = "powersave"; + turbo = "never"; + }; + charger = { + governor = "performance"; + turbo = "auto"; + }; + }; + + }