mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-13 20:07:03 +01:00
f7110b3e06
Unfortunately, this is necessary to prevent certain websites from completely breaking due to Noto fonts having wider width overall.
29 lines
585 B
Nix
29 lines
585 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;
|
|
hinting.style = "hintfull";
|
|
};
|
|
};
|
|
}
|