fix: rename and track Nomarchy.ttf font for flake build

This commit is contained in:
Bernardo Magri
2026-04-13 12:34:15 +01:00
parent 6f4741c060
commit 8e4e801244
5 changed files with 7 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -4,11 +4,13 @@ let
nomarchy-font = pkgs.stdenv.mkDerivation {
pname = "nomarchy-font";
version = "1.0";
# Pull from core/home/config where the ttf is located
src = ./../home/config;
# Point directly to the font file
src = ./../home/config/Nomarchy.ttf;
# No archive to unpack
unpackPhase = "true";
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp nomarchy.ttf $out/share/fonts/truetype/
cp $src $out/share/fonts/truetype/Nomarchy.ttf
'';
};
in