155902744b
Change-Id: I067d832155db61fb426ea3435e038231f321f71a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5545 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
24 lines
389 B
Nix
24 lines
389 B
Nix
# Attempt at configuring reasonable font-rendering.
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
fonts = {
|
|
fonts = with pkgs; [
|
|
corefonts
|
|
dejavu_fonts
|
|
jetbrains-mono
|
|
noto-fonts-cjk
|
|
noto-fonts-emoji
|
|
];
|
|
|
|
fontconfig = {
|
|
hinting.enable = true;
|
|
subpixel.lcdfilter = "light";
|
|
|
|
defaultFonts = {
|
|
monospace = [ "JetBrains Mono" ];
|
|
};
|
|
};
|
|
};
|
|
}
|