system/nixos/shared/fonts.nix

33 lines
669 B
Nix
Raw Normal View History

2022-10-12 02:56:07 +03:00
{ pkgs, ... }:
{
fonts = {
enableDefaultPackages = true;
packages = with pkgs; [
2022-10-12 02:56:07 +03:00
ubuntu_font_family
fira-code
2022-10-19 10:21:54 +03:00
fira-code-symbols
2022-10-12 02:56:07 +03:00
(nerdfonts.override { fonts = [ "FiraCode" ]; })
2022-10-19 10:21:54 +03:00
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
mplus-outline-fonts.githubRelease
dina-font
proggyfonts
2022-10-12 02:56:07 +03:00
];
fontconfig = {
defaultFonts = {
monospace = [
"Fira Code"
"emoji"
"FiraCode Nerd Font Mono"
];
serif = [ "Ubuntu" "emoji" ];
sansSerif = [ "Ubuntu" "emoji" ];
emoji = [ "Noto Color Emoji" ];
};
};
};
}