mrflos-nixos-config-fork/modules/fonts.nix

26 lines
453 B
Nix
Raw Normal View History

2023-04-14 20:51:52 +00:00
# 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" ];
};
};
};
}