Translations:Fonts/39/zh-cn
❄︎ /etc/nixos/configuration.nix
fonts = {
packages = with pkgs; [ gyre-fonts ];
fontconfig = {
localConf = ''
<match target="pattern">
<test qual="any" name="family"><string>NewCenturySchlbk</string></test>
<edit name="family" mode="assign" binding="same"><string>TeX Gyre Schola</string></edit>
</match>
'';
};
};