services: xorg: Assume STARTX is a regular value.

* gnu/services/xorg.scm (slim-service): Expect STARTX to be a regular value,
  not a monadic value.
This commit is contained in:
Ludovic Courtès 2015-05-21 22:22:12 +02:00
parent 12422c9d38
commit 1eca6c36ad

View file

@ -246,7 +246,9 @@ (define* (slim-service #:key (slim slim)
theme."
(define (slim.cfg)
(mlet %store-monad ((startx (or startx (xorg-start-command)))
(mlet %store-monad ((startx (if startx
(return startx)
(xorg-start-command)))
(xinitrc (xinitrc #:fallback-session
auto-login-session)))
(text-file* "slim.cfg" "