From 50a0ab3e142aa3aa1f339d848d89ff1648b8db25 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 27 Jan 2020 14:28:12 -0500 Subject: [PATCH] guix: add (sudo-less) light landed fcb510c541e83291ea6682cba87020a913c64914 in guix.git so one can set brightness using light without sudo --- .config/guix/manifest/chaman.scm | 1 + .config/guix/system/chaman.scm | 1 + 2 files changed, 2 insertions(+) diff --git a/.config/guix/manifest/chaman.scm b/.config/guix/manifest/chaman.scm index 5ba14c6..edffa52 100644 --- a/.config/guix/manifest/chaman.scm +++ b/.config/guix/manifest/chaman.scm @@ -82,6 +82,7 @@ "icecat" "inkscape" "isync" + "light" "mpv" "msmtp" "ncdu" diff --git a/.config/guix/system/chaman.scm b/.config/guix/system/chaman.scm index 831d9eb..6a60e11 100644 --- a/.config/guix/system/chaman.scm +++ b/.config/guix/system/chaman.scm @@ -86,4 +86,5 @@ (simple-service 'my-powertop-auto-tune activation-service-type #~(zero? (system* #$(file-append powertop "/sbin/powertop") "--auto-tune"))) + (simple-service 'light-udev-rules udev-service-type (list light)) %desktop-services))) -- 2.20.1