diff --git a/systems/aarch64-linux/macbook-pro-nixos/services.nix b/systems/aarch64-linux/macbook-pro-nixos/services.nix index 1da9ae0..5edd3eb 100644 --- a/systems/aarch64-linux/macbook-pro-nixos/services.nix +++ b/systems/aarch64-linux/macbook-pro-nixos/services.nix @@ -14,19 +14,23 @@ # example: for 800 MHz = 800000 kHz --> scaling_min_freq = 800000 # Available: 912 MHz, 1284 MHz, 1752 MHz, 2004 MHz, 2256 MHz, 2424 MHz # 702000 948000 1188000 1452000 1704000 1968000 2208000 2400000 2568000 2724000 2868000 3000000 3132000 3264000 - # boost 3360000 3408000 3504000 # see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html # to use this feature, uncomment the following line and set the value accordingly scaling_min_freq = 702000; - scaling_max_freq = 3504000; + scaling_max_freq = 3264000; # scaling_min_freq = 702000; # scaling_max_freq = 1968000; # turbo boost setting. possible values: always, auto, never - turbo = "auto"; + # boost 3360000 3408000 3504000 + turbo = "always"; }; # settings for when using battery power battery = { + # Specify which battery device to use for reading battery information. see available batteries by running: ls /sys/class/power_supply/ + # If not set, auto-cpufreq will automatically detect and use the first battery found + battery_device = "macsmc-battery"; + # see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors # preferred governor governor = "schedutil";