From bdba579f7234176434c0a3dff99c9edc8ab36c09 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sat, 11 Jan 2025 13:43:51 +0100 Subject: desktop: simplify keyboard config --- desktop.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/desktop.scm b/desktop.scm index 671a782..64dda01 100644 --- a/desktop.scm +++ b/desktop.scm @@ -8,9 +8,7 @@ video virtualization) (use-service-modules desktop networking ssh xorg pm sddm virtualization) -;; Keyboard layout -(define us-keyboard-for-bootloader-and-linux (keyboard-layout "us")) -(define my-real-keyboard-layout +(define keyboard-layout (keyboard-layout "us,es" #:options '("eurosign:e" "grp:alt_space_toggle" @@ -27,7 +25,7 @@ (sddm-configuration (xorg-configuration (xorg-configuration - (keyboard-layout my-real-keyboard-layout) + (keyboard-layout keyboard-layout) (modules (append %default-xorg-modules (list xf86-input-wacom))) (extra-config @@ -74,12 +72,12 @@ (firmware (list linux-firmware)) (locale "en_US.utf8") (timezone "Europe/Madrid") - (keyboard-layout us-keyboard-for-bootloader-and-linux) + (keyboard-layout keyboard-layout) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list "/boot/efi")) - (keyboard-layout us-keyboard-for-bootloader-and-linux))) + (keyboard-layout keyboard-layout))) (swap-devices (list (swap-space (target "/dev/sda3")))) (file-systems -- cgit v1.2.3