about summary refs log tree commit diff
path: root/modules/darwin/fonts.nix
diff options
context:
space:
mode:
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