summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-11-17 17:14:13 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-11-17 17:43:30 -0500
commit1bea5d38a26755b84437623c0f48915a77899b57 (patch)
tree6cb013d33ad155bbe9b7251d3db4eeded766a961
parent83c9e00ffbd41776c003f6992e9d613a5434fff9 (diff)
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.
-rw-r--r--gnu/tests/lightdm.scm7
1 files changed, 6 insertions, 1 deletions
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)