1
0
forked from extern/nix-config
donovanglover-nix-config/modules/fonts/default.nix
Donovan Glover 3119b789f8
nix: Format with alejandra
Alejandra is written in Rust, has more tests than nixfmt, and handles
non-trivial code examples in Nix better.
2023-06-05 20:50:10 -04:00

25 lines
557 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";};
};
};
}