Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In NixOS, is there a way to get a list of available console fonts?

Tags:

nixos

I'd like to find a list of available fonts that I could use in an expression like:

{
  i18n = {
    consoleFont = "font-name-here";
  };
}

in my configuration.nix. (In particular, I'm looking for one with a high DPI, so that I can read it on my machine, but just a list of them would do nicely.)

like image 484
Jonathan Avatar asked Aug 19 '18 23:08

Jonathan


1 Answers

This took me forever to figure out, but I eventually did nix-locate Lat2-Terminus16 and found the /share/consolefonts directory, where I was then able to list the available console fonts.

like image 127
Jonathan Avatar answered Oct 01 '22 09:10

Jonathan