aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-12-13 17:27:44 +0100
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-12-15 00:19:41 +0900
commit7068f6f7a5a53a29e9650b097924246cf0d445b4 (patch)
tree57d034e5c25cf31a61544b90ceebd513efcbd3dd /doc/guix.texi
parentb8d72efbb14637a9242168b4ceafdd6864895ff2 (diff)
downloadguix-7068f6f7a5a53a29e9650b097924246cf0d445b4.tar.gz
guix-7068f6f7a5a53a29e9650b097924246cf0d445b4.zip
services: mingetty: Add additional configuration options.
Not all aspects of mingetty were configurable, so this commit adds the additional configuration fields to support that. * gnu/services/base.scm (<mingetty-configuration>): Add delay, print-issue, print-hostname, nice, working-directory, root-directory fields. (mingetty-shepherd-service): Use the new fields. (define-module)<#:export>: Export the new accessors. * doc/guix.texi (Base Services)<mingetty-configuration>: Document the additional field. Change-Id: I4557a82498805ade0b341feda9d33eccc305690f
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi28
1 files changed, 27 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index b37d8bae8e..04e5a89b99 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -19429,7 +19429,33 @@ When set to @code{#t} in conjunction with @var{auto-login}, the user
will have to press a key before the log-in shell is launched.
@item @code{clear-on-logout?} (default: @code{#t})
-When set to @code{#t}, the screen will be cleared after logout.
+When set to @code{#t}, the screen will be cleared before showing the
+login prompt. The field name is bit unfortunate, since it controls
+clearing also before the initial login, not just after a logout.
+
+@item @code{delay} (default: @code{#f})
+When set to a number, sleep that many seconds after startup.
+
+@item @code{print-issue} (default: @code{#t})
+When set to @code{#t}, write out a new line and the content of
+@file{/etc/issue}. Value of @code{'no-nl} can be used to suppress the
+new line.
+
+@item @code{print-hostname} (default: @code{#t})
+When set to @code{#t}, print the host name before the login prompt. The
+host name is printed up to the first dot. Can be set to @code{'long} to
+print the full host name.
+
+@item @code{nice} (default: @code{#f})
+When set to a number, change the process priority using @code{nice}.
+
+@item @code{working-directory} (default: @code{#f})
+When set to a string, change into that directory before calling the
+login program.
+
+@item @code{root-directory} (default: @code{#f})
+When set to a string, use this directory at the process's root
+directory.
@item @code{mingetty} (default: @var{mingetty})
The Mingetty package to use.