From 1bea5d38a26755b84437623c0f48915a77899b57 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 17 Nov 2022 17:14:13 -0500 Subject: tests: lightdm: Use set-xorg-configuration to set keyboard layout. This is to validate that it works, when the login manager service type is properly specified. * gnu/tests/lightdm.scm (%lightdm-os): Use set-xorg-configuration. --- gnu/tests/lightdm.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/tests/lightdm.scm') diff --git a/gnu/tests/lightdm.scm b/gnu/tests/lightdm.scm index 431b388e7e..57d029a75a 100644 --- a/gnu/tests/lightdm.scm +++ b/gnu/tests/lightdm.scm @@ -34,6 +34,7 @@ #:use-module (gnu services xorg) #:use-module (gnu system) #:use-module (gnu system file-systems) + #:use-module (gnu system keyboard) #:use-module (gnu system shadow) #:use-module (gnu system vm) #:use-module (gnu tests) @@ -56,7 +57,11 @@ (inherit %simple-os) (packages (cons* ocrad ratpoison xterm %base-packages)) (services - (cons* (service lightdm-service-type + (cons* (set-xorg-configuration (xorg-configuration + (keyboard-layout (keyboard-layout "us"))) + lightdm-service-type) + + (service lightdm-service-type (lightdm-configuration (allow-empty-passwords? #t) (debug? #t) -- cgit 1.4.1