From 6eda4acc251fed0afbf5f1a85a63e321d8234799 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Fri, 10 May 2024 19:48:45 -0700 Subject: Initial Commit --- modules/fonts.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/fonts.nix (limited to 'modules/fonts.nix') 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" ]; + }; + }; + }; +} -- cgit v1.2.3