From ba92c4d307b54f172103163272e21f7c39542e60 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Fri, 8 Sep 2023 15:43:25 -0700 Subject: [PATCH] add support for dfont to the fonts module --- modules/fonts/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index b39df76a..eb5bc49a 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -41,7 +41,7 @@ in { preferLocalBuild = true; } '' mkdir -p $out/Library/Fonts - font_regexp='.*\.\(ttf\|ttc\|otf\)' + font_regexp='.*\.\(ttf\|ttc\|otf\|dfont\)' find -L ${toString cfg.fonts} -regex "$font_regexp" -type f -print0 | while IFS= read -rd "" f; do ln -sf "$f" $out/Library/Fonts done