summaryrefslogtreecommitdiff
path: root/gnu/services/sddm.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-10-21 15:47:55 +0200
committerLudovic Courtès <ludo@gnu.org>2019-10-21 18:16:16 +0200
commit8cf3e167c15a0dba3166cbeee46d41f26cbf75f1 (patch)
treed081441fed9f8fbe003c49426a824456b924ea7a /gnu/services/sddm.scm
parent5ac5f2c1298cac811a544e2db193ba5d69d9fce6 (diff)
downloadpatches-8cf3e167c15a0dba3166cbeee46d41f26cbf75f1.tar
patches-8cf3e167c15a0dba3166cbeee46d41f26cbf75f1.tar.gz
services: sddm: Deprecate 'sddm-service' procedure.
* gnu/services/sddm.scm (sddm-service): Mark as deprecated. * doc/guix.texi (X Window): Document 'sddm-service-type' and 'sddm-configuration'.
Diffstat (limited to 'gnu/services/sddm.scm')
-rw-r--r--gnu/services/sddm.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm
index f33f1f93b9..c89c0c68bc 100644
--- a/gnu/services/sddm.scm
+++ b/gnu/services/sddm.scm
@@ -30,6 +30,7 @@
#:use-module (gnu system shadow)
#:use-module (guix gexp)
#:use-module (guix records)
+ #:use-module (guix deprecation)
#:export (sddm-configuration
sddm-configuration?
sddm-service-type
@@ -319,7 +320,8 @@ Relogin=" (if (sddm-configuration-relogin? config)
sddm-profile-service)))
(default-value (sddm-configuration))))
-(define* (sddm-service #:optional (config (sddm-configuration)))
+(define-deprecated (sddm-service #:optional (config (sddm-configuration)))
+ sddm-service-type
"Run the @uref{https://github.com/sddm/sddm,SSDM display manager}
with the given @var{config}, a @code{<sddm-configuration>} object."
(service sddm-service-type config))