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