diff --git a/buer.scm b/buer.scm index 513eb12..464bb11 100644 --- a/buer.scm +++ b/buer.scm @@ -22,6 +22,7 @@ #|D|# desktop #|M|# mcron #|N|# networking + #|P|# pm #|S|# sound sysctl) (use-package-modules @@ -214,6 +215,26 @@ (dhcp-client-configuration (interfaces 'all))) + #|Power management services|# + (service tlp-service-type + (tlp-configuration + (cpu-scaling-governor-on-ac '("performance")) + (cpu-scaling-governor-on-bat '("powersave")) + (cpu-scaling-min-freq-on-ac 1500000) + (cpu-scaling-max-freq-on-ac 3500000) + (cpu-scaling-min-freq-on-bat 1000000) + (cpu-scaling-max-freq-on-bat 3000000) + (cpu-min-perf-on-ac 0) + (cpu-max-perf-on-ac 100) + (cpu-min-perf-on-bat 0) + (cpu-max-perf-on-bat 40) + (cpu-boost-on-ac? #t) + (cpu-boost-on-bat? #f) + (nmi-watchdog? #t) + (start-charge-thresh-bat0 70) + (stop-charge-thresh-bat0 90))) + (service thermald-service-type) + #|Thinkfan services|# (simple-service 'thinkfan-config etc-service-type `(("modprobe.d/thinkfan.conf" ,file:thinkfan-modprobe-config)