mrflos-nixos-config-fork/modules/fonts.nix
2023-04-14 23:51:52 +03:00

25 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" ];
};
};
};
}