about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-18 23:30:38 +0100
committerene <ene@sils.li>2023-02-18 23:30:38 +0100
commite5f6567670018edc3ff16481eb704dbdb37a6f81 (patch)
tree2cb05e80da24909accc66455cc3397c923b9a979
parentFeat(home-manager): Add mpv (diff)
downloadnixos-config-e5f6567670018edc3ff16481eb704dbdb37a6f81.tar.gz
nixos-config-e5f6567670018edc3ff16481eb704dbdb37a6f81.zip
Fix: Add fonts explicitly
-rw-r--r--system/font/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/font/default.nix b/system/font/default.nix
new file mode 100644
index 00000000..f4036928
--- /dev/null
+++ b/system/font/default.nix
@@ -0,0 +1,17 @@
+{
+  config,
+  pkgs,
+  ...
+}: let
+  nerdFont = pkgs.nerdfonts.override {
+    fonts = [
+      "JetBrainsMono"
+      "Iosevka"
+    ];
+  };
+in {
+  # TODO maybe add other fonts?
+  fonts.fonts = [
+    nerdFont
+  ];
+}