1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/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 nixos gtk.iconCache.enable: default from xserver.enable 2018-11-17 11:18:10 +01:00
krb5 nixos: correct improper uses of mkEnableOption, clarify service descriptions 2018-10-05 13:14:45 +07:00
xdg nixos/xdg/portal: set GTK_USE_PORTAL with lib.mkIf 2019-08-01 17:51:51 -04:00
appstream.nix nixos: add AppStream module 2018-12-04 20:26:25 +00:00
debug-info.nix Set $NIX_DEBUG_INFO_DIRS when environment.enableDebugInfo is enabled 2017-10-10 12:04:57 +02:00
gnu.nix treewide: isArm -> isAarch32 2018-04-25 15:28:55 -04:00
i18n.nix Merge pull request #36424 from jfrankenau/i18n-extra-locale 2018-11-29 16:22:34 +01:00
iproute2.nix alternative for iproute module (#41801) 2018-09-01 20:28:23 +02:00
ldap.nix nixos/ldap: set proper User= and Group= for nslcd service 2019-03-28 13:08:47 +01:00
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 nixos/nsswitch: add option to configure nssHosts 2019-02-22 23:00:24 +01:00
power-management.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
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 nixos/shells: enable to nullify already defined aliases 2018-10-14 00:14:49 +09:00
swap.nix change swap.randomEncryption config option to "coercedTo" for backwards compatibility 2017-07-26 20:57:10 +03:00
sysctl.nix nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
system-environment.nix types: loeOf -> listOf 2016-11-05 21:46:42 +01:00
system-path.nix nixos/system-path.nix: add 3 to every priority 2019-02-18 21:16:30 -05:00
terminfo.nix terminfo: symlink terminfo to /etc for ncurses 2017-06-30 11:17:11 +02:00
unix-odbc-drivers.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
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 [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
vte.nix nixos/vte: ensure bash vte snippet appears first 2019-08-23 10:11:48 -04:00
zram.nix zram: revert "change default algorithm to zstd" (#56856) 2019-03-07 02:11:20 +02:00