diff options
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 04e5a89b998..3d501a08c92 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -19457,6 +19457,26 @@ login program. When set to a string, use this directory at the process's root directory. +@item @code{shepherd-requirement} +List of shepherd requirements. Unless you know what you are doing, it +is recommended to extend the default list instead of overriding it. + +As an example, when using auto-login on a system with elogind, it is +necessary to wait on the @code{'dbus-system} service: + +@lisp +(modify-services %base-services + (mingetty-service-type config => + (mingetty-configuration + (inherit config) + ;; Automatically log in as "guest". + (auto-login "guest") + (shepherd-requirement + (cons 'dbus-system + (mingetty-configuration-shepherd-requirement + config)))))) +@end lisp + @item @code{mingetty} (default: @var{mingetty}) The Mingetty package to use. |