system/machines/modules/fonts.nix

25 lines
483 B
Nix
Raw Normal View History

2022-10-12 02:56:07 +03:00
{ pkgs, ... }:
{
fonts = {
enableDefaultFonts = true;
fonts = with pkgs; [
ubuntu_font_family
fira-code
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];
fontconfig = {
defaultFonts = {
monospace = [
"Fira Code"
"emoji"
"FiraCode Nerd Font Mono"
];
serif = [ "Ubuntu" "emoji" ];
sansSerif = [ "Ubuntu" "emoji" ];
emoji = [ "Noto Color Emoji" ];
};
};
};
}