mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-05 10:39:42 +01:00
6b6f4f8dd6
Those actually break Gnome/wayland. They might work on x11.
31 lines
880 B
Nix
31 lines
880 B
Nix
# X1 6th generation with a QHD (2560x1440px) display
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../.
|
|
];
|
|
|
|
# Fix font sizes in X
|
|
services.xserver.dpi = 210;
|
|
fonts.fontconfig.dpi = 210;
|
|
|
|
# Enable readable font on console. The example configuration that
|
|
# follows 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;
|
|
}
|