BREAKING CHANGE: The fontconfig target no longer enables Home Manager's fonts.fontconfig.enable option and now sets Home Manager's fonts.fontconfig.defaultFonts option instead. Link: https://github.com/nix-community/stylix/pull/1292 Reviewed-by: awwpotato <awwpotato@voidq.com> Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com> Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
16 lines
343 B
Nix
16 lines
343 B
Nix
{ mkTarget }:
|
|
mkTarget {
|
|
name = "fontconfig";
|
|
humanName = "Fontconfig";
|
|
|
|
configElements =
|
|
{ fonts }:
|
|
{
|
|
fonts.fontconfig.defaultFonts = {
|
|
monospace = [ fonts.monospace.name ];
|
|
serif = [ fonts.serif.name ];
|
|
sansSerif = [ fonts.sansSerif.name ];
|
|
emoji = [ fonts.emoji.name ];
|
|
};
|
|
};
|
|
}
|