I did a bunch of searches as well as reading the wiki page but couldn’t figure it out.
I have a derivation that does cp -r ${./Fonts} $out/share/fonts/truetype
to install my fonts, and they show up when I do fc-list
, one file being SF-Pro-Text-Medium.otf: SF Pro Text style=Medium
. Under fonts.fontconfig
I got sansSerif = [ "SF Pro Text" ];
to work but not "SF Pro Text Medium"