snowflake/modules/fonts.nix

35 lines
674 B
Nix
Raw Normal View History

2023-03-31 18:15:58 -04:00
{
pkgs,
...
}: {
fonts = {
enableDefaultFonts = false;
fontDir.enable = true;
fonts = with pkgs; [
jetbrains-mono
nerdfonts
noto-fonts
noto-fonts-cjk
2023-03-31 18:15:58 -04:00
twemoji-color-font
font-awesome
kochi-substitute
ipafont
];
fontconfig = {
enable = true;
allowBitmaps = true;
defaultFonts = {
monospace = [ "JetBrainsMono Nerd Font" "Twitter Color Emoji" ];
serif = [ "Noto Serif" "Twitter Color Emoji" ];
sansSerif = [ "Noto Sans" "Twitter Color Emoji" ];
emoji = [ "Twitter Color Emoji" ];
2023-03-31 18:15:58 -04:00
};
hinting.style = "hintfull";
};
};
}