26 lines
453 B
Nix
26 lines
453 B
Nix
|
# Fonts and reasonable font-rendering.
|
||
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
fonts = {
|
||
|
fonts = with pkgs; [
|
||
|
corefonts
|
||
|
dejavu_fonts
|
||
|
inter
|
||
|
jetbrains-mono
|
||
|
(nerdfonts.override { fonts = [ "FiraCode" "FiraMono" ]; })
|
||
|
noto-fonts-cjk
|
||
|
noto-fonts-emoji
|
||
|
];
|
||
|
|
||
|
fontconfig = {
|
||
|
hinting.enable = true;
|
||
|
subpixel.lcdfilter = "light";
|
||
|
|
||
|
defaultFonts = {
|
||
|
monospace = [ "JetBrains Mono" ];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|