~ruther/guix-config

58e0ba35eb40723f92dbd718fcb2ea0847659c98 — Rutherther a month ago 425f20f
feat: use tlp instead of power profiles

The amdgpu kernel argument is necessary, because otherwise there are
frequent freezes!
1 files changed, 11 insertions(+), 1 deletions(-)

M config.scm
M config.scm => config.scm +11 -1
@@ 107,7 107,14 @@
   (service cups-service-type
            (cups-configuration
             (web-interface? #t)))
   (service power-profiles-daemon-service-type)
   ;; (service power-profiles-daemon-service-type)
   (service tlp-service-type
            (tlp-configuration
             (tlp-default-mode "BAT")
             (stop-charge-thresh-bat0 80)
             (start-charge-thresh-bat0 70)
             (cpu-energy-perf-policy-on-ac "balance_power")
             (cpu-energy-perf-policy-on-bat "power")))

   (service screen-locker-service-type
            (screen-locker-configuration


@@ 124,6 131,9 @@
(define %ruther/base-laptop-os
  (operating-system
    (kernel linux)
    (kernel-arguments
     (cons* "amdgpu.dcdebugmask=0x10"
            %default-kernel-arguments))
    (initrd microcode-initrd)
    (firmware (cons* linux-firmware
                     %base-firmware))

Do not follow this link