mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
8 lines
341 B
Nix
8 lines
341 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
# These x86 hosts use active Intel/AMD P-state drivers: powersave permits
|
|
# hardware-managed scaling. Apple Silicon keeps its native schedutil policy;
|
|
# generic cpufreq powersave would instead hold the CPU at its minimum.
|
|
powerManagement.cpuFreqGovernor = lib.mkIf pkgs.stdenv.hostPlatform.isx86 "powersave";
|
|
}
|