nixpkgs-suyu/nixos/modules/config
Jan Tojnar b31c7e527e nixos/fontconfig: Allow setting default emoji font
In fontconfig’s 60-generic.conf, order of preference is estabilished for emoji
font family. Because fontconfig parses the config files in lexicographic order,
appending each <prefer> from <alias> element to the family’s prefer list
(to be prepended before the family) [1], our font family defaults stored
in 52-nixos-default-fonts.conf will take precedence. That is, of course, unless
the default „weak“ binding [2] is used. Emoji family binds strongly [3],
so we need to set binding to “same” for our <alias>es to be considered before
the ones from 60-generic.conf.

By default, we will set the option to all emoji fonts supported by fontconfig,
so that emoji works for user if they have at least one emoji font installed.
If they have multiple emoji fonts installed, we will use the fontconfig’s
order of preference [4].

[1]: https://github.com/bohoomil/fontconfig-ultimate/issues/51#issuecomment-64678322
[2]: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN25
[3]: cc8442dec8
[4]: c41c922018
2019-09-01 00:09:25 -04:00
..
fonts nixos/fontconfig: Allow setting default emoji font 2019-09-01 00:09:25 -04:00
gtk
krb5
xdg nixos/xdg/portal: set GTK_USE_PORTAL with lib.mkIf 2019-08-01 17:51:51 -04:00
appstream.nix
debug-info.nix
gnu.nix
i18n.nix
iproute2.nix
ldap.nix
locale.nix timezone.nix -> locale.nix 2019-08-12 11:56:40 -04:00
malloc.nix nixos/malloc: use ld preload 2019-07-04 19:24:40 +02:00
networking.nix resolvconf service: init 2019-07-15 20:25:39 +03:00
no-x-libs.nix nixos/config/no-x-libs: Fix pinentry arguments 2019-07-24 15:22:07 -05:00
nsswitch.nix
power-management.nix
pulseaudio.nix nixos/pulseaudio: Set speex-float-5 as default resample-method 2019-05-31 16:05:39 +01:00
qt5.nix nixos/qt5: init 2019-08-20 12:24:55 -04:00
resolvconf.nix resolvconf service: init 2019-07-15 20:25:39 +03:00
shells-environment.nix
swap.nix
sysctl.nix nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
system-environment.nix
system-path.nix
terminfo.nix
unix-odbc-drivers.nix
update-users-groups.pl nixos/update-users-groups.pl: chomp hashedPassword 2019-08-25 23:42:31 -04:00
users-groups.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
vpnc.nix
vte.nix nixos/vte: ensure bash vte snippet appears first 2019-08-23 10:11:48 -04:00
zram.nix