2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2019-03-20 02:57:59 +01:00
|
|
|
with lib;
|
2023-09-11 20:23:04 +02:00
|
|
|
mkIf (elem "fonts" config.machine.conffiles) {
|
|
|
|
fonts = {
|
|
|
|
fontDir.enable = true;
|
|
|
|
enableGhostscriptFonts = true;
|
|
|
|
fontconfig = {
|
|
|
|
enable = true;
|
|
|
|
# deprecated (will eventually be completely removed)
|
|
|
|
# ultimate.enable = true;
|
|
|
|
includeUserConf = false;
|
|
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
|
|
arphic-ukai
|
|
|
|
arphic-uming
|
|
|
|
crimson
|
|
|
|
corefonts # Microsoft free fonts
|
|
|
|
dejavu_fonts
|
|
|
|
font-awesome
|
|
|
|
inconsolata # monospaced
|
|
|
|
inter
|
|
|
|
manrope
|
|
|
|
montserrat
|
2024-02-21 21:55:05 +01:00
|
|
|
nerdfonts
|
2023-09-11 20:23:04 +02:00
|
|
|
noto-fonts
|
|
|
|
noto-fonts-cjk
|
|
|
|
noto-fonts-emoji
|
|
|
|
noto-fonts-extra
|
|
|
|
powerline-fonts
|
|
|
|
source-han-sans-japanese
|
|
|
|
source-han-sans-korean
|
|
|
|
source-han-sans-simplified-chinese
|
|
|
|
source-han-sans-traditional-chinese
|
|
|
|
# source-sans-pro
|
|
|
|
symbola
|
|
|
|
ubuntu_font_family
|
|
|
|
wqy_microhei
|
|
|
|
wqy_zenhei
|
|
|
|
];
|
2019-02-26 13:44:40 +01:00
|
|
|
};
|
2023-09-11 20:23:04 +02:00
|
|
|
}
|