doc: kmscon-service-type: Use @defvar @-command.

* doc/guix.texi (Base Services): Use @defvar @-command for kmscon-service-type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Bruno Victal 2023-02-25 18:57:51 +00:00 committed by Ludovic Courtès
parent 4892c0186e
commit 5bd5e77281
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 8 deletions

View File

@ -18342,18 +18342,17 @@ The option can be used to provides extra shepherd requirements (for example
@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
@defvar kmscon-service-type
Type of the service that runs @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon},
which implements virtual console log-in. The value for this service is a
@code{<kmscon-configuration>} object.
@end defvar
@deftp {Data Type} kmscon-configuration
This is the data type representing the configuration of Kmscon, which
implements virtual console log-in.
Data type representing the configuration of Kmscon, which specifies the
tty to run, among other things.
@table @asis
@item @code{virtual-terminal}
The name of the console this Kmscon runs on---e.g., @code{"tty1"}.