2018-05-31 13:56:43 +00:00
|
|
|
# X1 6th generation with a QHD (2560x1440px) display
|
2018-07-17 16:55:21 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2018-05-31 16:04:02 +00:00
|
|
|
|
2018-05-31 13:56:43 +00:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
];
|
2018-06-02 23:55:59 +00:00
|
|
|
|
2018-06-02 23:33:37 +00:00
|
|
|
# Fix font sizes in X
|
2018-05-31 13:56:43 +00:00
|
|
|
services.xserver.dpi = 210;
|
|
|
|
fonts.fontconfig.dpi = 210;
|
2018-06-02 23:55:59 +00:00
|
|
|
|
2018-07-17 15:44:31 +00:00
|
|
|
# Enable readable font on console. The example configuration that
|
2018-07-17 15:53:53 +00:00
|
|
|
# follows is taliored towards western languages. To see how to
|
2018-07-17 15:44:31 +00:00
|
|
|
# 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;
|
2018-05-31 13:56:43 +00:00
|
|
|
}
|