summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-25 18:58:03 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-03 17:55:33 +0100
commitc3dc13e29c624609b851ef50db343074fad2d7cb (patch)
tree6298508bd18ba2e4ce7bf8c4d1bf8e366670003a /doc
parentca3a73de3db533e6247c01a6a6b3bc9177a089e6 (diff)
downloadguix-patches-c3dc13e29c624609b851ef50db343074fad2d7cb.tar
guix-patches-c3dc13e29c624609b851ef50db343074fad2d7cb.tar.gz
services: desktop: Deprecate 'accountsservice-service' procedure.
* doc/guix.texi (Desktop Services): Replace 'accountsservice-service' with 'accountsservice-service-type'. * gnu/services/desktop.scm (accountsservice-service): Deprecate procedure. (desktop-services-for-system): Use accountsservice-service-type. * gnu/tests/lightdm.scm (minimal-desktop-services): Ditto. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi15
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index e0563f493f..0530b9a45b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -23428,18 +23428,17 @@ Data type representing the configuration of @command{elogind}.
@end table
@end deftp
-@deffn {Scheme Procedure} accountsservice-service @
- [#:accountsservice @var{accountsservice}]
-Return a service that runs AccountsService, a system service that can
+@defvar accountsservice-service-type
+Type for the service that runs AccountsService, a system service that can
list available accounts, change their passwords, and so on.
AccountsService integrates with PolicyKit to enable unprivileged users
to acquire the capability to modify their system configuration.
-@uref{https://www.freedesktop.org/wiki/Software/AccountsService/, the
-accountsservice web site} for more information.
+See @url{https://www.freedesktop.org/wiki/Software/AccountsService/,
+AccountsService} for more information.
-The @var{accountsservice} keyword argument is the @code{accountsservice}
-package to expose as a service.
-@end deffn
+The value for this service is a file-like object, by default it is
+set to @code{accountsservice} (the package object for AccountsService).
+@end defvar
@deffn {Scheme Procedure} polkit-service @
[#:polkit @var{polkit}]