diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/tahoe/hardware.nix | 2 | ||||
-rw-r--r-- | modules/services/tlp/default.nix | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/hosts/tahoe/hardware.nix b/hosts/tahoe/hardware.nix index ada6202..34c278b 100644 --- a/hosts/tahoe/hardware.nix +++ b/hosts/tahoe/hardware.nix @@ -63,4 +63,6 @@ # high-resolution display hardware.video.hidpi.enable = lib.mkDefault true; + + powerManagement.cpuFreqGovernor = "schedutil"; } diff --git a/modules/services/tlp/default.nix b/modules/services/tlp/default.nix index dc640f7..ac083d8 100644 --- a/modules/services/tlp/default.nix +++ b/modules/services/tlp/default.nix @@ -13,8 +13,8 @@ in settings = { # Set CPU scaling aggressively when power is not an issue - CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + CPU_SCALING_GOVERNOR_ON_AC = "schedutil"; + CPU_SCALING_GOVERNOR_ON_BAT = "schedutil"; # Keep charge between 60% and 80% to preserve battery life START_CHARGE_THRESH_BAT0 = 60; |