2023-06-21 08:38:25 +05:30
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2023-10-23 03:55:34 +05:30
|
|
|
environment.systemPackages = with pkgs; [ auto-cpufreq ];
|
2023-06-21 08:38:25 +05:30
|
|
|
systemd.services.auto-cpufreq.enable = true;
|
2023-08-09 21:57:34 +05:30
|
|
|
services.auto-cpufreq.enable = true;
|
|
|
|
services.auto-cpufreq.settings = {
|
|
|
|
charger = {
|
|
|
|
governor = "performance";
|
|
|
|
turbo = "auto";
|
|
|
|
};
|
|
|
|
battery = {
|
2023-08-11 06:52:29 +05:30
|
|
|
governor = "schedutil";
|
2023-10-23 03:55:34 +05:30
|
|
|
scaling_max_freq = 3800000;
|
2023-08-09 21:57:34 +05:30
|
|
|
turbo = "never";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-06-21 08:38:25 +05:30
|
|
|
}
|