31 lines
676 B
Nix
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";
|
|
};
|
|
};
|
|
}
|