From: Cristiano Fagnoli <cristianof6@gmail.com>
To: help-guix@gnu.org
Subject: Custom font on the console
Date: Wed, 10 Feb 2021 10:53:30 +0100 [thread overview]
Message-ID: <CANiSzb9HKnHrhigpeSjp2WFXk2YHFBEi1zRwnLPx_gE1Q-c+zQ@mail.gmail.com> (raw)
Hi to all,
I just started to use guix system, and i'm trying to get used to it; very
first start.
I always use the text console on laptop so i have a little problem setting
a custom font for the console considering the display resolution is
1920x1080 and the default characters are very small to see.
I already read a previuos similar question on this mailing list and i
copied the piece of code for changing the font in the system configuration.
But when i reconfigure i get error and i cannot proceed further.
my config.scm is detailed below and the specific lines of code that gives
error (invalid field specifier) are delimited by the comment " COPIED FROM
MAILING LIST SUGGESTION"
Thank you in advance
- Cristiano
;######### Config.scm
;; This is an operating system configuration generated
;; by the graphical installer.
; da web
(use-modules
(gnu)
(ice-9 match))
(use-service-modules desktop networking ssh xorg)
(operating-system
(locale "en_US.utf8")
(timezone "Europe/Rome")
(keyboard-layout (keyboard-layout "it"))
(host-name "rawmat.net")
(users (cons* (user-account
(name "cris")
(comment "")
(group "users")
(home-directory "/home/cris")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(list (specification->package "nss-certs"))
%base-packages))
;; COPIED FROM MAILING LIST SUGGESTION
(modify-services %desktop-services
(console-font-service-type configuration =>
(map
(match-lambda
(("tty1" . f)
`("tty1" . ,(file-append
font-terminus
"/share/consolefonts/ter-128n.psf.gz")))
((tty . font) `(,tty . ,font))) configuration)))
;; COPIED FROM MAILING LIST SUGGESTION
(services
(append
(list (service network-manager-service-type)
(service wpa-supplicant-service-type))
%base-services))
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(keyboard-layout keyboard-layout)
(theme (grub-theme
(inherit (grub-theme))
(gfxmode '("1920x1080" "1024x768" "auto"))))))
(initrd-modules
(append '("mptspi") %base-initrd-modules))
(swap-devices
(list (uuid "12e1e1d2-eb5c-41de-9de9-17846f24c3a4")))
(file-systems
(cons* (file-system
(mount-point "/")
(device
(uuid "ec1a963a-ec2a-4df2-8c24-81b92777ba48"
'ext4))
(type "ext4"))
%base-file-systems)))
reply other threads:[~2021-02-10 18:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANiSzb9HKnHrhigpeSjp2WFXk2YHFBEi1zRwnLPx_gE1Q-c+zQ@mail.gmail.com \
--to=cristianof6@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.