From b8d449295c4d27e7ce041ac37591b2afe970bf24 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 30 Jun 2020 13:26:55 +0200 Subject: Add tuxedo keyboard light module to kernel --- config.scm | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'config.scm') diff --git a/config.scm b/config.scm index 14bb0ff..c6d6436 100644 --- a/config.scm +++ b/config.scm @@ -3,6 +3,7 @@ (use-modules (gnu) (srfi srfi-1) ((gnu packages linux) #:prefix gnu-linux:) + (tuxedo-keyboard) (nongnu packages linux) (nongnu system linux-initrd)) @@ -10,6 +11,7 @@ (operating-system (kernel linux) + (kernel-loadable-modules `(,tuxedo-keyboard)) (initrd microcode-initrd) (firmware (list linux-firmware)) (locale "en_US.utf8") @@ -78,16 +80,16 @@ "openssh")) %base-packages)) - (services (append (list (udev-rules-service 'light gnu-linux:light) - (service gnome-desktop-service-type) - (bluetooth-service #:auto-enable? #t) - (set-xorg-configuration (xorg-configuration - (keyboard-layout - keyboard-layout)))) - ; Removes ModemManager because it interferes with USB - ; development. If using a 3/4G modem or something we have - ; to activate it. - (remove (lambda (x) (eqv? (service-type-name - (service-kind x)) - 'modem-manager)) - %desktop-services)))) + (services (cons* (udev-rules-service 'light gnu-linux:light) + (service gnome-desktop-service-type) + (bluetooth-service #:auto-enable? #t) + (set-xorg-configuration (xorg-configuration + (keyboard-layout + keyboard-layout))) + ; Removes ModemManager because it interferes with USB + ; development. If using a 3/4G modem or something we have + ; to activate it. + (remove (lambda (x) (eqv? (service-type-name + (service-kind x)) + 'modem-manager)) + %desktop-services)))) -- cgit v1.2.3