From 6658ad9a5ca3b83fbf05f1b84cd2e0f456dd9c67 Mon Sep 17 00:00:00 2001 From: lucy Date: Wed, 5 Aug 2026 00:43:54 +0200 Subject: [PATCH] adjust powersaving modes on laptop --- flake.nix | 6 +++--- nixos/stylix/stylix.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 7d72084..7b402d0 100644 --- a/flake.nix +++ b/flake.nix @@ -69,13 +69,13 @@ enable = true; settings = { CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; + CPU_SCALING_GOVERNOR_ON_BAT = "balanced"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "balanced"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_MIN_PERF_ON_AC = 0; CPU_MAX_PERF_ON_AC = 100; CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 20; + CPU_MAX_PERF_ON_BAT = 80; }; }; }) diff --git a/nixos/stylix/stylix.nix b/nixos/stylix/stylix.nix index a3ae4ec..43251e8 100644 --- a/nixos/stylix/stylix.nix +++ b/nixos/stylix/stylix.nix @@ -77,7 +77,7 @@ in name = "Lora"; }; monospace = { - name = "Monaspace Xenon Regular"; + name = "Monaspace Xenon NF"; package = pkgs.monaspace; };