about summary refs log tree commit diff stats
path: root/system/font/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-05 17:30:33 +0100
committerene <ene@sils.li>2023-03-05 17:30:33 +0100
commit653bbac595f19cbd50f60ad6780c2c7d9d97e981 (patch)
tree0256491da9f124abc6d386c1d44ddc003a58f457 /system/font/default.nix
parentFix(hm/conf/alacritty): Use Sauce Code Pro i. of Source .. (diff)
downloadnixos-config-653bbac595f19cbd50f60ad6780c2c7d9d97e981.tar.gz
nixos-config-653bbac595f19cbd50f60ad6780c2c7d9d97e981.zip
Fix(system/fonts): Add SourceCodePro as default font
Diffstat (limited to 'system/font/default.nix')
-rw-r--r--system/font/default.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/system/font/default.nix b/system/font/default.nix
index 09e6520e..97011d30 100644
--- a/system/font/default.nix
+++ b/system/font/default.nix
@@ -10,7 +10,16 @@
   };
 in {
   # TODO maybe add other fonts?
-  fonts.fonts = [
-    nerdFont
-  ];
+  fonts = {
+    fonts = [
+      nerdFont
+    ];
+    fontconfig = {
+      defaultFonts = {
+        # serif = ["Vazir"];
+        # sansSerif = ["Vazir"];
+        monospace = ["SourceCodePro"];
+      };
+    };
+  };
 }