Add emoji fonts

This commit is contained in:
Lyes Saadi 2024-07-29 01:27:07 +02:00
parent 59efb94f21
commit d7c6c9e58d
No known key found for this signature in database
GPG key ID: 17418538BAA17767

View file

@ -28,16 +28,26 @@
];
fonts = {
enableDefaultPackages = true;
packages = with pkgs; [
twemoji-color-font
noto-fonts
noto-fonts-cjk
noto-fonts-lgc-plus
noto-fonts-emoji
cantarell-fonts
twitter-color-emoji
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
fontDir.enable = true;
fontconfig = {
defaultFonts = {
sansSerif = [ "Cantarell" "Noto Sans" ];
monospace = [ "JetBrainsMono Nerd Font" ];
emoji = [ "Twitter Color Emoji" "Noto Color Emoji" ];
};
};
};
# Some programs need SUID wrappers, can be configured further or are