forked from extern/nix-config
0bd8f69705
This fixes an issue where the default fonts were included by default from another module in the system configuration.
28 lines
564 B
Nix
28 lines
564 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
|
|
];
|
|
|
|
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";
|
|
};
|
|
};
|
|
}
|