services: sddm: Add default configuration.

Unlike gdm-service-type, sddm-service-type cannot be configured in an
operating-system configuration by simply adding (service
sddm-service-type). This adds the default SDDM configuration just like
GDM does..

* gnu/services/sddm.scm (sddm-service-type)[default-value]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Brendan Tildesley 2019-10-20 23:12:02 +09:00 committed by Ludovic Courtès
parent 674e143cf8
commit 5ac5f2c129
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -316,7 +316,8 @@ (define sddm-service-type
(service-extension account-service-type
(const %sddm-accounts))
(service-extension profile-service-type
sddm-profile-service)))))
sddm-profile-service)))
(default-value (sddm-configuration))))
(define* (sddm-service #:optional (config (sddm-configuration)))
"Run the @uref{https://github.com/sddm/sddm,SSDM display manager}