summary refs log tree commit diff
path: root/gnu
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
parent5ac5f2c1298cac811a544e2db193ba5d69d9fce6 (diff)
downloadguix-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')
-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))