summary refs log tree commit diff stats
path: root/sys/font
diff options
context:
space:
mode:
Diffstat (limited to 'sys/font')
-rw-r--r--sys/font/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/font/default.nix b/sys/font/default.nix
new file mode 100644
index 0000000..97011d3
--- /dev/null
+++ b/sys/font/default.nix
@@ -0,0 +1,25 @@
+{
+  config,
+  pkgs,
+  ...
+}: let
+  nerdFont = pkgs.nerdfonts.override {
+    fonts = [
+      "SourceCodePro"
+    ];
+  };
+in {
+  # TODO maybe add other fonts?
+  fonts = {
+    fonts = [
+      nerdFont
+    ];
+    fontconfig = {
+      defaultFonts = {
+        # serif = ["Vazir"];
+        # sansSerif = ["Vazir"];
+        monospace = ["SourceCodePro"];
+      };
+    };
+  };
+}