diff --git a/configuration.nix b/configuration.nix index d450325..7f37820 100644 --- a/configuration.nix +++ b/configuration.nix @@ -36,7 +36,17 @@ LC_TIME = "en_US.UTF-8"; }; - + services.auto-cpufreq.enable = true; + services.auto-cpufreq.settings = { + battery = { + governor = "powersave"; + turbo = "never"; + }; + charger = { + governor = "performance"; + turbo = "auto"; + }; + }; # Enable the X11 windowing system. services.xserver = { @@ -125,7 +135,6 @@ zsh gparted ntfs3g - tlp ]; };