about summary refs log tree commit diff stats
path: root/sys/font/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/font/default.nix')
-rw-r--r--sys/font/default.nix21
1 files changed, 16 insertions, 5 deletions
diff --git a/sys/font/default.nix b/sys/font/default.nix
index 303efcf7..cad579b9 100644
--- a/sys/font/default.nix
+++ b/sys/font/default.nix
@@ -1,21 +1,32 @@
-{pkgs, ...}: let
+{
+  pkgs,
+  lib,
+  ...
+}: let
   nerdFont = pkgs.nerdfonts.override {
     fonts = [
       "SourceCodePro"
+      "Overpass"
     ];
   };
 in {
-  # TODO: maybe add other fonts?
   fonts = {
     packages = [
       nerdFont
+      pkgs.noto-fonts-emoji
     ];
+    #localConf = builtins.readFile ./font.xml;
     fontconfig = {
       defaultFonts = {
-        # serif = ["Vazir"];
-        # sansSerif = ["Vazir"];
-        monospace = ["SourceCodePro"];
+        # FIXME: Add a serif font <2023-08-28>
+        serif = [];
+        sansSerif = lib.mkForce ["Overpass Sans Serif"];
+        monospace = lib.mkForce ["Sauce Code Pro Mono"];
+        emoji = lib.mkForce ["Noto Color Emoji"];
       };
+      allowType1 = false;
+      allowBitmaps = false;
     };
   };
+  console.font = "Saurce Code Pro Mono";
 }