mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
doc: Add console-font-service-type to Base Services.
* doc/guix.texi (Base Services): Add console-font-service-type. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
8b18f5cb30
commit
8825f9955a
1 changed files with 17 additions and 0 deletions
|
@ -12286,6 +12286,23 @@ symlink:
|
||||||
Return a service that sets the host name to @var{name}.
|
Return a service that sets the host name to @var{name}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
@defvr {Scheme Variable} console-font-service-type
|
||||||
|
Install the given fonts on the specified ttys (fonts are per
|
||||||
|
virtual console on the kernel Linux). The value of this service is a list of
|
||||||
|
tty/font pairs. The font can be the name of a font provided by the @code{kbd}
|
||||||
|
package or any valid argument to @command{setfont}, as in this example:
|
||||||
|
|
||||||
|
@lisp
|
||||||
|
`(("tty1" . "LatGrkCyr-8x16")
|
||||||
|
("tty2" . ,(file-append
|
||||||
|
font-tamzen
|
||||||
|
"/share/kbd/consolefonts/TamzenForPowerline10x20.psf"))
|
||||||
|
("tty3" . ,(file-append
|
||||||
|
font-terminus
|
||||||
|
"/share/consolefonts/ter-132n"))) ; for HDPI
|
||||||
|
@end lisp
|
||||||
|
@end defvr
|
||||||
|
|
||||||
@deffn {Scheme Procedure} login-service @var{config}
|
@deffn {Scheme Procedure} login-service @var{config}
|
||||||
Return a service to run login according to @var{config}, a
|
Return a service to run login according to @var{config}, a
|
||||||
@code{<login-configuration>} object, which specifies the message of the day,
|
@code{<login-configuration>} object, which specifies the message of the day,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue