aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-07-20 13:17:07 +0200
committerDavid Craven <david@craven.ch>2016-09-11 16:29:45 +0200
commit46ec2707a459f376dd72ea6e545662f51157c95e (patch)
tree67be727ec3410e67277253abbb72ef25b0e26a9a /doc/guix.texi
parent317d3b474ab5e0e62509dd1b5b2fbbf2e27c95fe (diff)
downloadpatches-46ec2707a459f376dd72ea6e545662f51157c95e.tar
patches-46ec2707a459f376dd72ea6e545662f51157c95e.tar.gz
services: Add kmscon service.
* gnu/services/base.scm (<kmscon-configuration>, kmscon-service-type): New variables. * doc/guix.texi (@deffn kmscon-service-type, @deftp kmscon-configuration): Add documentation.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 41b8d5db0b..65cf804f1e 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7674,6 +7674,37 @@ The Mingetty package to use.
@end table
@end deftp
+@deffn {Scheme Procedure} kmscon-service-type @var{config}
+Return a service to run @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon}
+according to @var{config}, a @code{<kmscon-configuration>} object, which
+specifies the tty to run, among other things.
+@end deffn
+
+@deftp {Data Type} kmscon-configuration
+This is the data type representing the configuration of Kmscon, which
+implements console log-in.
+
+@table @asis
+
+@item @code{virtual-terminal}
+The name of the console this Kmscon runs on---e.g., @code{"tty1"}.
+
+@item @code{login-program} (default: @code{#~(string-append #$shadow "/bin/login")})
+A gexp denoting the name of the log-in program. The default log-in program is
+@command{login} from the Shadow tool suite.
+
+@item @code{login-arguments} (default: @code{'("-p")})
+A list of arguments to pass to @command{login}.
+
+@item @code{hardware-acceleration?} (default: #f)
+Whether to use hardware acceleration.
+
+@item @code{kmscon} (default: @var{kmscon})
+The Kmscon package to use.
+
+@end table
+@end deftp
+
@cindex name service cache daemon
@cindex nscd
@deffn {Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @