aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-12 20:55:45 -0300
committerEuAndreh <eu@euandre.org>2022-05-12 20:55:45 -0300
commit06761d3b46965e44d4fdc25771f839df6fd02269 (patch)
treecf90e04301a56a6cf98834a871e6abed68b25923
parentetc/guix/system.scm: Include WIP udev-rules service extension (diff)
downloaddotfiles-06761d3b46965e44d4fdc25771f839df6fd02269.tar.gz
dotfiles-06761d3b46965e44d4fdc25771f839df6fd02269.tar.xz
etc/guix/system.scm: Add custom X config for controlling screen backlight
-rw-r--r--etc/guix/system.scm23
1 files changed, 15 insertions, 8 deletions
diff --git a/etc/guix/system.scm b/etc/guix/system.scm
index f0d15bb..666c15e 100644
--- a/etc/guix/system.scm
+++ b/etc/guix/system.scm
@@ -91,14 +91,21 @@
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout)
- (extra-config (list #"-
- Section "InputClass"
- Identifier "touchpad"
- Driver "libinput"
- MatchIsTouchpad "on"
- Option "Tapping" "on"
- EndSection
- "#)))))
+ (extra-config
+ (list
+ #"-
+ Section "InputClass"
+ Identifier "touchpad"
+ Driver "libinput"
+ MatchIsTouchpad "on"
+ Option "Tapping" "on"
+ EndSection
+ Section "Device"
+ Identifier "Intel Graphics"
+ Driver "intel"
+ Option "Backlight" "intel_backlight"
+ EndSection
+ "#)))))
(modify-services %desktop-services
(guix-service-type config =>
(guix-configuration