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