nix-config/modules/fonts.nix
Donovan Glover 0fddecce45
fonts: Use default hinting
Fixes an issue where the new "full" option would cause letters such as
"m" to appear disoriented.

For more information, refer to the commit below:
b5d2d701d1
2023-07-03 12:28:39 -04:00

30 lines
552 B
Nix

{ pkgs, ... }:
{
fonts = {
enableDefaultFonts = false;
fonts = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
maple-mono
font-awesome
nerdfonts
kanji-stroke-order-font
liberation_ttf
];
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;
};
};
}