From eeb9cef3348faa92714b1f6e2eb7ff37ae1c5a11 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 14 Mar 2023 19:12:04 -0700 Subject: modules/fonts: add more fonts --- modules/system/fonts/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'modules/system/fonts/default.nix') diff --git a/modules/system/fonts/default.nix b/modules/system/fonts/default.nix index d4cd077..55e4020 100644 --- a/modules/system/fonts/default.nix +++ b/modules/system/fonts/default.nix @@ -11,21 +11,32 @@ in fonts = { enableDefaultFonts = true; fontDir.enable = true; - fontconfig.enable = true; + fontconfig = { + enable = true; + defaultFonts = { + serif = [ "Bitstream Vera Serif" ]; + sansSerif = [ "Bitstream Vera Sans" ]; + monospace = [ "Bitstream Vera Sans Mono" ]; + }; + }; fonts = with pkgs; [ dejavu_fonts + ttf_bitstream_vera + font-awesome_5 + noto-fonts noto-fonts-cjk # Chinese, Japanese, Korean noto-fonts-emoji noto-fonts-emoji noto-fonts-extra + + cantarell-fonts + source-code-pro source-sans-pro source-serif-pro ]; - - fontconfig.defaultFonts = { monospace = [ "Source Code Pro" ]; }; }; }; } -- cgit 1.4.1