summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2023-02-03 12:56:02 +0100
committerJulien Lepiller <julien@lepiller.eu>2023-02-19 10:09:10 +0100
commit01334a61c7541d8ae29c5252e2e5b3ed7a59c552 (patch)
treec58511ca85ad5c1ec88d886db6342fe9b4b070a8 /gnu/services
parent0100ff1727b75441fcd777d240a76428bbe4e424 (diff)
downloadguix-01334a61c7541d8ae29c5252e2e5b3ed7a59c552.tar.gz
gnu: Use unifont by default in TTYs.
It has even better language support than LatGrkCyr-8x16 and can show
fancy progress bars.

* gnu/services/base.scm (%default-console-font): Use unifont.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/base.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 3244c7f184..3f55feb5a0 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -65,6 +65,7 @@
                 #:select (coreutils glibc glibc-utf8-locales tar
                           canonical-package))
   #:use-module ((gnu packages compression) #:select (gzip))
+  #:use-module (gnu packages fonts)
   #:autoload   (gnu packages guile-xyz) (guile-netlink)
   #:autoload   (gnu packages hurd) (hurd)
   #:use-module (gnu packages package-management)
@@ -824,10 +825,8 @@ host names."
 of console keymaps with @command{loadkeys}.")))
 
 (define %default-console-font
-  ;; Note: 'LatGrkCyr-8x16' has the advantage of providing three common
-  ;; scripts as well as glyphs for em dash, quotation marks, and other Unicode
-  ;; codepoints notably found in the UTF-8 manual.
-  "LatGrkCyr-8x16")
+  #~(string-append #$font-gnu-unifont:psf
+                   "/share/consolefonts/Unifont-APL8x16.psf.gz"))
 
 (define (console-font-shepherd-services tty+font)
   "Return a list of Shepherd services for each pair in TTY+FONT."