snowflake/modules/fonts.nix

30 lines
662 B
Nix

{pkgs, ...}: {
fonts = {
enableDefaultFonts = false;
fontDir.enable = true;
fonts = with pkgs; [
corefonts
jetbrains-mono
nerdfonts
noto-fonts
noto-fonts-cjk
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"];
};
hinting.style = "hintfull";
};
};
}