nixos/config/fonts.nix

43 lines
921 B
Nix
Raw Normal View History

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