2024-04-16 02:51:46 +03:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options.local.fonts.enable = lib.mkEnableOption "fonts";
|
|
|
|
|
|
|
|
config = lib.mkIf config.local.fonts.enable {
|
|
|
|
fonts = {
|
|
|
|
enableDefaultPackages = true;
|
|
|
|
packages = with pkgs; [
|
|
|
|
ubuntu_font_family
|
|
|
|
fira-code
|
|
|
|
fira-code-symbols
|
|
|
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
|
|
noto-fonts
|
2024-11-30 23:46:01 +03:00
|
|
|
noto-fonts-cjk-sans
|
2024-04-16 02:51:46 +03:00
|
|
|
noto-fonts-emoji
|
|
|
|
liberation_ttf
|
|
|
|
mplus-outline-fonts.githubRelease
|
|
|
|
dina-font
|
|
|
|
proggyfonts
|
|
|
|
];
|
|
|
|
fontconfig = {
|
|
|
|
defaultFonts = {
|
|
|
|
monospace = [
|
|
|
|
"Fira Code"
|
|
|
|
"emoji"
|
|
|
|
"FiraCode Nerd Font Mono"
|
|
|
|
];
|
|
|
|
serif = [ "Ubuntu" "emoji" ];
|
|
|
|
sansSerif = [ "Ubuntu" "emoji" ];
|
|
|
|
emoji = [ "Noto Color Emoji" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|