From b0c486e409ae6d597f263df7bfae9e0aad0244a3 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 24 Jun 2024 21:39:32 -0600 Subject: Add tlp to laptops, allowing user to query daemon settings --- .config/guix/garm.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '.config/guix/garm.scm') diff --git a/.config/guix/garm.scm b/.config/guix/garm.scm index 1e884d6..3c9cd82 100644 --- a/.config/guix/garm.scm +++ b/.config/guix/garm.scm @@ -1,3 +1,4 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; This configuration adapts the base-level 'ymir' ;; ;; OS declaration for 'garm', a laptop. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -45,7 +46,8 @@ ;; machine-specific packages ,@(list - brightnessctl))) + brightnessctl + tlp))) (services `(,@bd-base-system-services @@ -53,7 +55,10 @@ ,@bd-mpd-service ,(service guix-home-service-type `((,username ,home))) - ,(service tlp-service-type))) + ,(service tlp-service-type + (tlp-configuration + (start-charge-thresh-bat0 75) + (stop-charge-thresh-bat0 80))))) (mapped-devices (list (mapped-device (source (uuid "1c6a4f4d-2494-4b83-965c-1bcfdbf8a0b8")) -- cgit v1.2.3