diff options
| author | Benjamin Lee <benjamin@computer.surgery> | 2023-09-08 15:43:25 -0700 |
|---|---|---|
| committer | Benjamin Lee <benjamin@computer.surgery> | 2023-09-08 15:43:25 -0700 |
| commit | ba92c4d307b54f172103163272e21f7c39542e60 (patch) | |
| tree | 58698fec028ba4301f4839de79819318612f0401 /modules/fonts/default.nix | |
| parent | 511177ffe8226c78c9cf6a92a7b5f2df3684956b (diff) | |
add support for dfont to the fonts module
Diffstat (limited to 'modules/fonts/default.nix')
| -rw-r--r-- | modules/fonts/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index b39df76..eb5bc49 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 |
