snowflake/modules/fonts.nix

36 lines
690 B
Nix
Raw Normal View History

2023-03-31 18:15:58 -04:00
{
pkgs,
...
}: {
fonts = {
enableDefaultFonts = false;
fontDir.enable = true;
fonts = with pkgs; [
2023-04-02 05:22:54 -04:00
corefonts
2023-03-31 18:15:58 -04:00
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";
};
};
}