This commit is contained in:
Tristan D. 2025-03-10 14:09:41 +01:00
parent 0989b0093a
commit 0e6ca7773a
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
2 changed files with 66 additions and 65 deletions

View file

@ -17,11 +17,13 @@
${ryzenadj}/bin/ryzenadj --stapm-limit="$value" --fast-limit="$value" --slow-limit="$value" --tctl-temp=85
'')
];
systemd = let
systemd =
let
tcl = "85";
coall = "1048561"; # 1048561 = 0x100000 - 15(mV) $ math "0x100000-15" # slight undervolt
defaults = "--tctl-temp=${tcl} --set-coall=${coall}";
in {
in
{
services = {
ryzenadj = {
enable = false;

View file

@ -237,7 +237,6 @@
systemd = {
services = {
# Do not manage HID devices with powertop to prevent annoying keyboard/mouse sleeps
# powertop.postStart = ''
# HIDDEVICES=$(ls /sys/bus/usb/drivers/usbhid | grep -oE '^[0-9]+-[0-9\.]+' | sort -u)