Add tools for assessing overheat risk.

I'm thinking that I've been overheating my laptop, and that has lead to
the occasional restarts. These tools are helping me to assess that.
This commit is contained in:
Eli Ribble 2025-04-09 09:13:44 -07:00
parent 09369a243a
commit 947244095b
1 changed files with 25 additions and 0 deletions

View File

@ -60,6 +60,7 @@
kdePackages.plasma-browser-integration kdePackages.plasma-browser-integration
keychain keychain
libation libation
lm_sensors
lunar-client lunar-client
mosh mosh
mercurial mercurial
@ -76,6 +77,7 @@
signal-desktop signal-desktop
splix splix
spotify-player spotify-player
s-tui
step-ca step-ca
step-cli step-cli
thunderbird thunderbird
@ -224,8 +226,31 @@
# no need to redefine it in your config for now) # no need to redefine it in your config for now)
#media-session.enable = true; #media-session.enable = true;
}; };
services.power-profiles-daemon.enable = false;
services.resolved.enable = true; services.resolved.enable = true;
services.tailscale.enable = true; services.tailscale.enable = true;
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
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;
# Optional helps save long term battery health
START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
};
};
services.thinkfan = {
enable = true;
};
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;