From 2b1c6161c5d2381cbfe224694dfb218aee0b6da1 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 17 Aug 2026 20:48:18 -0500 Subject: something is seriously broken rn --- hosts/mercury/battery.nix | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'hosts/mercury/battery.nix') diff --git a/hosts/mercury/battery.nix b/hosts/mercury/battery.nix index 0aaa3cd..24de65b 100644 --- a/hosts/mercury/battery.nix +++ b/hosts/mercury/battery.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { # auto-cpufreq services.power-profiles-daemon.enable = false; # conflicts with auto-cpufreq services.tlp.enable = false; # conflicts with auto-cpufreq @@ -20,28 +20,28 @@ }; # Undervolt (BROKEN) - # services.undervolt = { - # enable = true; - # useTimer = false; - # # power-limit-long - # p1 = { - # window = 1; # no clue what this means - # limit = 40; - # }; + services.undervolt = { + enable = true; + useTimer = false; + # power-limit-long + p1 = { + window = 1; # no clue what this means + limit = 40; + }; - # # power-limit-short - # p2 = { - # window = 1; - # limit = 50; - # }; + # power-limit-short + p2 = { + window = 1; + limit = 50; + }; - # coreOffset = -50; # also applied to cache - # gpuOffset = -10; - # }; + coreOffset = -50; # also applied to cache + gpuOffset = -10; + }; - # environment.systemPackages = with pkgs; [ - # undervolt - # s-tui - # stress - # ]; + environment.systemPackages = with pkgs; [ + undervolt + s-tui + stress + ]; } -- cgit v1.3.1