From 06761d3b46965e44d4fdc25771f839df6fd02269 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 12 May 2022 20:55:45 -0300 Subject: etc/guix/system.scm: Add custom X config for controlling screen backlight --- etc/guix/system.scm | 23 +++++++++++++++-------- 1 file 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 -- cgit v1.2.3