overlays/cascadia-code: init to remove NF icons

This commit is contained in:
LavaDesu 2025-03-15 17:39:47 +11:00
parent b0d7064ca3
commit 9eb196ea3a
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,12 @@
self: super: {
cascadia-code = super.cascadia-code.overrideAttrs(o: {
installPhase = (builtins.replaceStrings ["runHook postInstall"] [""] o.installPhase) + ''
install -Dm644 otf/static/*.otf -t $out/share/fonts/opentype
install -Dm644 ttf/static/*.ttf -t $out/share/fonts/truetype
rm $out/share/fonts/opentype/*NF*
rm $out/share/fonts/truetype/*NF*
runHook postInstall
'';
});
}

View file

@ -1,5 +1,6 @@
builtins.map (path: import path) [
./android-studio.nix
./cascadia-code.nix
./ccache.nix
./eww.nix
./material-icons.nix