about summary refs log tree commit diff
path: root/modules/darwin/fonts.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-07-30 20:06:40 +0300
committerAzat Bahawi <azat@bahawi.net>2023-07-30 20:06:40 +0300
commit031c27317d63a98bb9896a4baa9b19c155ac62a9 (patch)
tree3051b34857540420f4142e0b8360038cc609ea13 /modules/darwin/fonts.nix
parent2023-07-30 (diff)
2023-07-30
Diffstat (limited to '')
-rw-r--r--modules/darwin/fonts.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/darwin/fonts.nix b/modules/darwin/fonts.nix
index 741fdc8..c52d73e 100644
--- a/modules/darwin/fonts.nix
+++ b/modules/darwin/fonts.nix
@@ -7,6 +7,10 @@ with lib; let
   cfg = config.nixfiles.modules.fonts;
 in {
   config = mkIf cfg.enable {
-    fonts.fontDir.enable = true;
+    fonts = {
+      fonts = cfg.packages;
+
+      fontDir.enable = true;
+    };
   };
 }

Consider giving Nix/NixOS a try! <3