From 509a60d63b388ad05dd9f3aeccca00f34fcaa24e Mon Sep 17 00:00:00 2001 From: Jacob Bachmann Date: Sun, 21 Jan 2024 01:03:44 +0100 Subject: [PATCH] feat: adjust performance profile settings --- modules/power.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/power.nix b/modules/power.nix index ab42604..0559686 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -6,6 +6,12 @@ services.tlp = { enable = true; + settings = { + CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; + PLATFORM_PROFILE_ON_AC = "performance"; + PLATFORM_PROFILE_ON_BAT = "balanced"; + }; }; environment.systemPackages = with pkgs; [