snowflake/modules/fonts.nix
notohh 41428623b8
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
fonts: use the right emoji font
2023-09-24 22:05:30 -04:00

31 lines
676 B
Nix

{pkgs, ...}: {
fonts = {
enableDefaultPackages = false;
fontDir.enable = true;
packages = with pkgs; [
corefonts
jost
jetbrains-mono
nerdfonts
noto-fonts
noto-fonts-cjk
twitter-color-emoji
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 = "full";
};
};
}