nixpkgs-suyu/nixos/modules
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
..
config nixos/fontconfig: Allow setting default emoji font 2019-09-01 00:09:25 -04:00
hardware nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
i18n/input-method nixos/ibus: do not default-install ibus-qt 2019-08-10 19:37:12 +02:00
installer nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
misc nixos/mailman: don't reserve a static uid in the system 2019-08-30 18:00:36 +02:00
profiles Merge pull request #63773 from flokli/installation-device-fixes 2019-08-31 02:59:23 +02:00
programs nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
security nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
services Merge pull request #67818 from xvapx/remove/crashplan 2019-08-31 21:47:27 -04:00
system nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
tasks nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
testing nixos/test: remove the stateVersion statement from the test-instrumentation 2019-06-03 15:05:24 +02:00
virtualisation nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
module-list.nix Merge pull request #67818 from xvapx/remove/crashplan 2019-08-31 21:47:27 -04:00
rename.nix Fix letsencrypt (#60219) 2019-08-29 16:32:59 +02:00