forked from extern/nix-config
43a07cc8d9
Neither nixfmt nor alejandra support the "standard" way to syntax highlight multi-line strings in Nix, so nixpkgs-fmt is the only viable solution.
25 lines
567 B
Nix
25 lines
567 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
|
|
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"; };
|
|
};
|
|
};
|
|
}
|