mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
77956b181b
This fixes an issue where some applications were using the default fonts from nixpkgs instead of the fonts specified in the system configuration. Notably, this led to the use of "TeX Gyre Heros" for body text, which made distinguishing between i/I/l problematic at smaller font sizes.
26 lines
531 B
Nix
26 lines
531 B
Nix
{ pkgs, ... }: {
|
|
fonts = {
|
|
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
|
|
];
|
|
|
|
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";
|
|
};
|
|
};
|
|
}
|