[Nix-dev] Terminus console font

宋文武 iyzsong at gmail.com
Tue Sep 9 03:58:40 CEST 2014


"M. P. Ashton" <data at imap.cc> writes:

> On Sun, Sep 7, 2014, at 02:20 PM, Dmitry Malikov wrote:
>> Good day.
>> 
>> I'm not a huge fan of X server, that why I'm spending my time inside a 
>> tty and virtual terminals. Default fonts that NixOS offers are not 
>> perfectly suite my eyes that why I'm looking for a way to use terminus 
>> font there.
>> 
>> I.e. in Gentoo OS there is a `consoleFont` variable which could be set 
>> to "ter-116n" value to get terminus in Xless console. I'm trying to do 
>> the same via setting `i18n.consoleFont = "ter-116n"`([1]) , but it do 
>> nothing.
>> 
>> Also as you see `pkgs.terminus_font` is added to the `fonts.fonts` 
>> statement, that why I'm assuming terminus font is installed in my system.
>> 
>> have you guys achieved it? What am I doing wrong?
>
> What works for me is the line:
>
> i18n.consoleFont = "Lat2-Terminus16";
>

Something like this works for me:

i18n.consoleFont = "${pkg.terminus}/share/consolefonts/ter-i16n.pcf.gz";



More information about the nix-dev mailing list