diff options
Diffstat (limited to 'modules/fonts.nix')
| -rw-r--r-- | modules/fonts.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/fonts.nix b/modules/fonts.nix new file mode 100644 index 0000000..89ee17a --- /dev/null +++ b/modules/fonts.nix @@ -0,0 +1,22 @@ +{ pkgs, ... }: + +{ + fonts = { + packages = with pkgs; [ + nerdfonts + noto-fonts + noto-fonts-cjk + noto-fonts-cjk-sans + noto-fonts-cjk-serif + noto-fonts-emoji + ]; + + fontconfig = { + defaultFonts = { + monospace = [ "CaskaydiaMono Nerd Font" ]; + sansSerif = [ "DejaVu Sans" "Noto Sans CJK JP" "Noto Sans" ]; + serif = [ "DejaVu Serif" "Noto Serif CJK JP" "Noto Serif" ]; + }; + }; + }; +} |