diff options
author | Franck Cuny <franck@fcuny.net> | 2023-03-14 19:12:04 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-03-14 19:12:04 -0700 |
commit | eeb9cef3348faa92714b1f6e2eb7ff37ae1c5a11 (patch) | |
tree | d9856a59ea04c84646dc357cb7be1c8895fa63cd | |
parent | home/mpv: more configuration tweaks (diff) | |
download | world-eeb9cef3348faa92714b1f6e2eb7ff37ae1c5a11.tar.gz |
modules/fonts: add more fonts
-rw-r--r-- | modules/system/fonts/default.nix | 17 |
1 files changed, 14 insertions, 3 deletions
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" ]; }; }; }; } |