summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <mab@gnu.org>2020-01-27 14:28:12 -0500
committerAmin Bandali <mab@gnu.org>2020-01-27 14:28:12 -0500
commit50a0ab3e142aa3aa1f339d848d89ff1648b8db25 (patch)
treea01fa02d5d0d26356232f4ca00185d0ce84eeb31
parent0a1906767e116baf849abf14d97964b772894e6d (diff)
downloadconfigs-50a0ab3e142aa3aa1f339d848d89ff1648b8db25.tar.gz
configs-50a0ab3e142aa3aa1f339d848d89ff1648b8db25.tar.xz
configs-50a0ab3e142aa3aa1f339d848d89ff1648b8db25.zip
guix: add (sudo-less) light
landed fcb510c541e83291ea6682cba87020a913c64914 in guix.git so one can set brightness using light without sudo
Diffstat (limited to '')
-rw-r--r--.config/guix/manifest/chaman.scm1
-rw-r--r--.config/guix/system/chaman.scm1
2 files changed, 2 insertions, 0 deletions
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)))