1
Fork 0
shimmeringmoon/nix/fonts.nix

26 lines
604 B
Nix
Raw Normal View History

2024-10-04 15:17:15 +02:00
{
unifont,
exo,
kazesawa,
geosans-light,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
name = "shimmering-fonts";
dontUnpack = true;
installPhase = ''
mkdir -p $out
cp "${unifont}/share/fonts/opentype/unifont.otf" $out
cp "${exo}/share/fonts/truetype/Exo[wght].ttf" $out
cp "${kazesawa}/share/fonts/truetype/Kazesawa-Regular.ttf" $out
cp "${kazesawa}/share/fonts/truetype/Kazesawa-Bold.ttf" $out
cp "${geosans-light}/share/fonts/truetype/GeosansLight.ttf" $out
'';
meta = {
description = "Collection of fonts required by `shimmeringmoon` at runtime";
};
}