aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/battery.nix
diff options
context:
space:
mode:
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
+ ];
}