mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
services: slim: Provide the 'xorg-server' Shepherd service.
This is a followup to 61569171d0
.
* gnu/services/xorg.scm (slim-shepherd-service): Add 'xorg-server' to
'provision' when VT is "vt7".
This commit is contained in:
parent
cae0725b80
commit
6ad799d7c5
1 changed files with 8 additions and 2 deletions
|
@ -549,8 +549,14 @@ (define theme
|
|||
|
||||
(list (shepherd-service
|
||||
(documentation "Xorg display server")
|
||||
(provision (list (symbol-append 'xorg-server-
|
||||
(string->symbol vt))))
|
||||
(provision (append
|
||||
;; For compatibility, also provide 'xorg-server'.
|
||||
(if (string=? vt "vt7")
|
||||
'(xorg-server)
|
||||
'())
|
||||
|
||||
(list (symbol-append 'xorg-server-
|
||||
(string->symbol vt)))))
|
||||
(requirement '(user-processes host-name udev))
|
||||
(start
|
||||
#~(lambda ()
|
||||
|
|
Loading…
Reference in a new issue