summaryrefslogtreecommitdiff
path: root/os/config.scm
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-27 12:17:23 +0200
committerMarc Coquand <marc@mccd.space>2024-10-27 12:17:23 +0200
commit1ced00b044f26959bdd1fe3decc40ff0acdcd2ea (patch)
tree7bf168e8ef740862a9edb9096858ec56d6be9826 /os/config.scm
parent49a21778db28105f0ea01e2e65686de963e954cc (diff)
downloadguix-1ced00b044f26959bdd1fe3decc40ff0acdcd2ea.tar.gz
guix-1ced00b044f26959bdd1fe3decc40ff0acdcd2ea.tar.bz2
guix-1ced00b044f26959bdd1fe3decc40ff0acdcd2ea.zip
.
Diffstat (limited to 'os/config.scm')
-rw-r--r--os/config.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/os/config.scm b/os/config.scm
index 758b25a..5da3022 100644
--- a/os/config.scm
+++ b/os/config.scm
@@ -16,6 +16,12 @@
(use-service-modules cups desktop networking ssh xorg nix)
(use-package-modules package-management)
+(define %terminus-console-font
+ #~(string-append
+ font-terminus
+ "/share/consolefonts/ter-132n"))
+
+
(operating-system
(kernel linux)
(initrd microcode-initrd)
@@ -77,6 +83,11 @@
'("lobste.rs" "lobste.rs")))))
(modify-services %desktop-services
(delete gdm-service-type)
+ (console-font-service-type
+ conf =>
+ (map (lambda (tty)
+ (cons tty %terminus-console-font))
+ '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
(guix-service-type config => (guix-configuration
(inherit config)
(substitute-urls