aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/battery.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-08-17 20:48:18 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-08-17 20:48:18 -0500
commit2b1c6161c5d2381cbfe224694dfb218aee0b6da1 (patch)
treee51c7bd694d5ad27fb9e68e51f11aae4e8c57fcc /hosts/mercury/battery.nix
parente29dd8a2283399b7e046937340509d5aec4b52ba (diff)
something is seriously broken rn
Diffstat (limited to 'hosts/mercury/battery.nix')
-rw-r--r--hosts/mercury/battery.nix44
1 files changed, 22 insertions, 22 deletions
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
+ ];
}