about summary refs log tree commit diff
path: root/modules/system/fonts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-14 19:12:04 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-14 19:12:04 -0700
commiteeb9cef3348faa92714b1f6e2eb7ff37ae1c5a11 (patch)
treed9856a59ea04c84646dc357cb7be1c8895fa63cd /modules/system/fonts
parenthome/mpv: more configuration tweaks (diff)
downloadworld-eeb9cef3348faa92714b1f6e2eb7ff37ae1c5a11.tar.gz
modules/fonts: add more fonts
Diffstat (limited to 'modules/system/fonts')
-rw-r--r--modules/system/fonts/default.nix17
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" ]; };
     };
   };
 }