From 0dc687871a859f78652ad959f7f9a9df7ee1a2e9 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 14 May 2024 17:24:25 -0700 Subject: Restructuring --- system/fonts.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 system/fonts.nix (limited to 'system/fonts.nix') diff --git a/system/fonts.nix b/system/fonts.nix new file mode 100644 index 0000000..89ee17a --- /dev/null +++ b/system/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