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.
This commit is contained in:
Maxim Cournoyer 2022-11-17 17:14:13 -05:00
parent 83c9e00ffb
commit 1bea5d38a2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -34,6 +34,7 @@ (define-module (gnu tests lightdm)
#: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 @@ (define %lightdm-os
(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)