mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-03 13:43:16 +01:00
3119b789f8
Alejandra is written in Rust, has more tests than nixfmt, and handles non-trivial code examples in Nix better.
25 lines
557 B
Nix
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";};
|
|
};
|
|
};
|
|
}
|