installer: Generate 'set-xorg-configuration' snippet.
* gnu/installer/services.scm (system-services->configuration): Add 'set-xorg-configuration' service. * gnu/installer/steps.scm (format-configuration): Add 'xorg' service module.
This commit is contained in:
parent
7422f5dae1
commit
469e56b4af
|
@ -102,4 +102,13 @@
|
|||
'%base-services)))
|
||||
(if (null? snippets)
|
||||
`((services ,base))
|
||||
`((services (cons* ,@snippets ,base))))))
|
||||
`((services (cons* ,@snippets
|
||||
|
||||
,@(if desktop?
|
||||
;; XXX: Assume 'keyboard-layout' is in scope.
|
||||
'((set-xorg-configuration
|
||||
(xorg-configuration
|
||||
(keyboard-layout keyboard-layout))))
|
||||
'())
|
||||
|
||||
,base))))))
|
||||
|
|
|
@ -215,7 +215,7 @@ found in RESULTS."
|
|||
'())))
|
||||
steps))
|
||||
(modules '((use-modules (gnu))
|
||||
(use-service-modules desktop networking ssh))))
|
||||
(use-service-modules desktop networking ssh xorg))))
|
||||
`(,@modules
|
||||
()
|
||||
(operating-system ,@configuration))))
|
||||
|
|
Loading…
Reference in New Issue