mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: console-font: A single service handles all the VTs.
* gnu/services/base.scm (%default-console-font): New variable. (console-font-shepherd-services): New procedure. (console-font-service-type): Change to use 'service-type'. (console-font-service): Rewrite using 'simple-service'. (%base-services): Use a single CONSOLE-FONT-SERVICE-TYPE instance. * gnu/system/install.scm (installation-services): Likewise.
This commit is contained in:
parent
71654dfdda
commit
4a84a48742
2 changed files with 52 additions and 40 deletions
|
@ -313,12 +313,10 @@ You have been warned. Thanks for being so brave.
|
|||
(cow-store-service)
|
||||
|
||||
;; Install Unicode support and a suitable font.
|
||||
(console-font-service "tty1")
|
||||
(console-font-service "tty2")
|
||||
(console-font-service "tty3")
|
||||
(console-font-service "tty4")
|
||||
(console-font-service "tty5")
|
||||
(console-font-service "tty6")
|
||||
(service console-font-service-type
|
||||
(map (lambda (tty)
|
||||
(cons tty %default-console-font))
|
||||
'("tty1" "tty2" "tty3" "tty4" "tty5" "tty6")))
|
||||
|
||||
;; To facilitate copy/paste.
|
||||
(gpm-service)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue