MyNixOS website logo
option

fonts.fontconfig.configFile.<name>.settings

Structured attrs of settings in the format of pkgs.format.xml {}. The settings are implicitly wrapped inside the <fontconfig> tag, i.e. as { fontconfig = <settings>; }. Note that source will be derived from settings and text if they are set; with override priorities being preserved. As a consequence, exactly one of settings, text, and source must be set with highest priority.

Declarations
Type
XML value
Default
{ }
Example
{
  description = "Enable antialiasing";
  match = {
    "@target" = "font";
    edit = {
      "@mode" = "assign";
      "@name" = "antialias";
      bool = "true";
    };
  };
}