summaryrefslogtreecommitdiffstats
path: root/lenovo
diff options
context:
space:
mode:
authorAlberto Berti <alberto@metapensiero.it>2018-07-17 17:44:31 +0200
committerAlberto Berti <alberto@metapensiero.it>2018-07-17 17:44:31 +0200
commit7a640afbb236b093794364f7e3d718fa15832cef (patch)
treee92cfc4e5128a9cf9c40a3640ef2391a5b094bab /lenovo
parent32a7893b8c3068a32f42eab45f08faebd3a16359 (diff)
Add optional console font configuration to make it readable on QHD displays
Diffstat (limited to 'lenovo')
-rw-r--r--lenovo/thinkpad/x1/6th-gen/QHD/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/lenovo/thinkpad/x1/6th-gen/QHD/default.nix b/lenovo/thinkpad/x1/6th-gen/QHD/default.nix
index f99326a..257b9a0 100644
--- a/lenovo/thinkpad/x1/6th-gen/QHD/default.nix
+++ b/lenovo/thinkpad/x1/6th-gen/QHD/default.nix
@@ -15,4 +15,22 @@
GDK_SCALE = lib.mkDefault "2";
GDK_DPI_SCALE= lib.mkDefault "0.5";
};
+ # Enable readable font on console. The example configuration that
+ # foollows is taliored towards western languages. To see how to
+ # configure the font download the source tarball from
+ # http://terminus-font.sourceforge.net/ and read the README file on
+ # the root dir
+
+ # i18n = {
+ # # this means ISO8859-1 or ISO8859-15 or Windows-1252 codepages
+ # # (ter-1), 16x32 px (32), normal font weight (n)
+ # consoleFont = "ter-132n";
+ # consoleKeyMap = "us";
+ # defaultLocale = "en_US.UTF-8";
+ # consolePackages = [ pkgs.terminus_font ];
+ # };
+
+ # Early configure the console to make the font readable from the
+ # start
+ # boot.earlyVconsoleSetup = true;
}