Difficulty understanding why an overlay does not work for a package in a NixOS configuration

noto-fonts-emoji is an alias not used anywhere in NixOS any more:

The attribute you are looking for is noto-fonts-color-emoji, which is used as the default emoji font on NixOS:

But the proper way to disable installing it is using the fonts.enableDefaultPackages = false; NixOS option. Just replacing a package with null can break other packages that rely on it – for example, twitter-color-emoji copies the build system from noto-fonts-color-emoji, and deltachat-desktop wants the TTF file.

1 Like