forked from extern/nix-config
3019400ff2
MapleMono-NF stopped working after changing locales, however nerd fonts still show with the nerdfonts package.
26 lines
538 B
Nix
26 lines
538 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
fonts = {
|
|
enableDefaultFonts = true;
|
|
fonts = with pkgs; [
|
|
noto-fonts
|
|
noto-fonts-cjk-sans
|
|
noto-fonts-cjk-serif
|
|
noto-fonts-emoji
|
|
maple-mono
|
|
font-awesome
|
|
nerdfonts
|
|
];
|
|
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"; };
|
|
};
|
|
};
|
|
}
|