aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Tildesley <mail@brendan.scot>2019-10-20 23:12:02 +0900
committerLudovic Courtès <ludo@gnu.org>2019-10-21 18:16:16 +0200
commit5ac5f2c1298cac811a544e2db193ba5d69d9fce6 (patch)
tree5d4cae0b150ca960002ed2c4dda53ad456d7df03
parent674e143cf8e7dff7d62a29c63e43839efc23edba (diff)
downloadpatches-5ac5f2c1298cac811a544e2db193ba5d69d9fce6.tar
patches-5ac5f2c1298cac811a544e2db193ba5d69d9fce6.tar.gz
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>
-rw-r--r--gnu/services/sddm.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm
index b0e6d40260..f33f1f93b9 100644
--- a/gnu/services/sddm.scm
+++ b/gnu/services/sddm.scm
@@ -316,7 +316,8 @@ Relogin=" (if (sddm-configuration-relogin? config)
(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}