summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-25 18:58:01 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-03 17:55:33 +0100
commit00767d967d2f70d53bb7494ac09e0e7c44323697 (patch)
tree349e9944e001bb93d3ffb1256103f4ae935b2764 /gnu
parent3b2e88011a485293bd11b25466ffbaa8791ec64a (diff)
services: desktop: Deprecate 'elogind-service' procedure.
* doc/guix.texi (Desktop Services): Replace 'elogind-service' with 'elogind-service-type'. * gnu/services/desktop.scm (elogind-service): Deprecate procedure. (desktop-services-for-system): Use elogind-service-type. * gnu/tests/lightdm.scm (minimal-desktop-services): Ditto. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/desktop.scm7
-rw-r--r--gnu/tests/lightdm.scm2
2 files changed, 5 insertions, 4 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 4724294433..374d47869b 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -116,7 +116,7 @@
elogind-configuration
elogind-configuration?
- elogind-service
+ elogind-service ; deprecated
elogind-service-type
%gdm-file-system
@@ -1230,7 +1230,8 @@ allow other system components to know the set of logged-in users as well as
their session types (graphical, console, remote, etc.). It can also clean up
after users when they log out.")))
-(define* (elogind-service #:key (config (elogind-configuration)))
+(define-deprecated (elogind-service #:key (config (elogind-configuration)))
+ elogind-service-type
"Return a service that runs the @command{elogind} login and seat management
service. The @command{elogind} service integrates with PAM to allow other
system components to know the set of logged-in users as well as their session
@@ -1866,7 +1867,7 @@ applications needing access to be root.")
(service colord-service-type)
(geoclue-service)
(service polkit-service-type)
- (elogind-service)
+ (service elogind-service-type)
(dbus-service)
(service ntp-service-type)
diff --git a/gnu/tests/lightdm.scm b/gnu/tests/lightdm.scm
index 57d029a75a..25fa06a9f1 100644
--- a/gnu/tests/lightdm.scm
+++ b/gnu/tests/lightdm.scm
@@ -48,7 +48,7 @@
(service upower-service-type)
(accountsservice-service)
(service polkit-service-type)
- (elogind-service)
+ (service elogind-service-type)
(dbus-service)
x11-socket-directory-service))