rearrange font module

This commit is contained in:
Yan Lin 2026-02-11 18:33:00 +01:00
parent c8e9d66f51
commit a8572dc3a3
6 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -4,11 +4,11 @@ let
# Custom fonts from local files
customFonts = pkgs.stdenvNoCC.mkDerivation {
name = "custom-fonts";
src = ../config/fonts;
src = ./fonts;
installPhase = ''
mkdir -p $out/share/fonts
find $src -type f \( -name "*.ttf" -o -name "*.otf" -o -name "*.ttc" -o -name "*.woff" -o -name "*.woff2" \) -exec cp {} $out/share/fonts/ \;
find $src -type f \( -iname "*.ttf" -o -iname "*.otf" -o -iname "*.ttc" -o -iname "*.woff" -o -iname "*.woff2" \) -exec cp {} $out/share/fonts/ \;
'';
};
in