services: xorg: Fix cases where 'keyboard-layout' is #f.
This is a followup to 598757e038
.
* gnu/services/xorg.scm (xorg-configuration->file): Check whether
'xorg-configuration-keyboard-layout' returns #f before calling
'keyboard-layout-options'.
This commit is contained in:
parent
b9a57fd1b2
commit
70bb83b7b2
|
@ -274,8 +274,8 @@ EndSection\n" port)
|
|||
keyboard-layout-variant))
|
||||
(model #$(and=> (xorg-configuration-keyboard-layout config)
|
||||
keyboard-layout-model))
|
||||
(options '#$(keyboard-layout-options
|
||||
(xorg-configuration-keyboard-layout config))))
|
||||
(options '#$(and=> (xorg-configuration-keyboard-layout config)
|
||||
keyboard-layout-options)))
|
||||
(when layout
|
||||
(display (input-class-section layout variant model options)
|
||||
port)
|
||||
|
|
Loading…
Reference in New Issue