aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-03-18 08:33:59 -0700
committerLudovic Courtès <ludo@gnu.org>2020-03-23 00:06:58 +0100
commit8825f9955a49c3d5f31411705d7eea8fc0c271bd (patch)
tree411a1c126adaf29613e64afdf2981aa25cb8d912
parent8b18f5cb309f670b08ad35df6425f4e9e19d8a82 (diff)
downloadguix-8825f9955a49c3d5f31411705d7eea8fc0c271bd.tar
guix-8825f9955a49c3d5f31411705d7eea8fc0c271bd.tar.gz
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>
-rw-r--r--doc/guix.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 6346cf78a1..6a1d34fb09 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12286,6 +12286,23 @@ symlink:
Return a service that sets the host name to @var{name}.
@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}
Return a service to run login according to @var{config}, a
@code{<login-configuration>} object, which specifies the message of the day,