nix-config/modules/fonts.nix

26 lines
542 B
Nix
Raw Normal View History

2023-05-16 20:48:49 +02:00
{ pkgs, ... }:
{
fonts = {
enableDefaultFonts = true;
fonts = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
maple-mono
maple-mono-NF
font-awesome
];
fontconfig = {
defaultFonts = {
serif = [ "Noto Serif CJK JP" "Noto Serif" ];
sansSerif = [ "Noto Sans CJK JP" "Noto Sans" ];
monospace = [ "Noto Mono CJK JP" "Noto Mono" ];
};
allowBitmaps = false;
hinting = { style = "hintfull"; };
};
};
}