[Nix-dev] Terminus console font

Dmitry Malikov malikov.d.y at gmail.com
Tue Sep 9 08:13:19 CEST 2014


And what is the value of ${pkg} variable there?
On 09/09/2014 05:58 AM, 宋文武 wrote:
> "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";
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 
Best regards,
dmitry malikov
!



More information about the nix-dev mailing list