guix: add (sudo-less) light
authorAmin Bandali <mab@gnu.org>
Mon, 27 Jan 2020 19:28:12 +0000 (14:28 -0500)
committerAmin Bandali <mab@gnu.org>
Mon, 27 Jan 2020 19:28:12 +0000 (14:28 -0500)
landed fcb510c541e83291ea6682cba87020a913c64914 in guix.git so one can
set brightness using light without sudo

.config/guix/manifest/chaman.scm
.config/guix/system/chaman.scm

index 5ba14c6..edffa52 100644 (file)
@@ -82,6 +82,7 @@
     "icecat"
     "inkscape"
     "isync"
     "icecat"
     "inkscape"
     "isync"
+    "light"
     "mpv"
     "msmtp"
     "ncdu"
     "mpv"
     "msmtp"
     "ncdu"
index 831d9eb..6a60e11 100644 (file)
@@ -86,4 +86,5 @@
    (simple-service 'my-powertop-auto-tune activation-service-type
                    #~(zero? (system* #$(file-append powertop "/sbin/powertop")
                                      "--auto-tune")))
    (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)))
    %desktop-services)))