diff options
author | EuAndreh <eu@euandre.org> | 2022-05-12 20:55:45 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-05-12 20:55:45 -0300 |
commit | 06761d3b46965e44d4fdc25771f839df6fd02269 (patch) | |
tree | cf90e04301a56a6cf98834a871e6abed68b25923 | |
parent | etc/guix/system.scm: Include WIP udev-rules service extension (diff) | |
download | dotfiles-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.scm | 23 |
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 |