nixos/config/fonts.nix

38 lines
802 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 = {
enableFontDir = true;
enableGhostscriptFonts = true;
fontconfig = {
enable = true;
ultimate.enable = true;
includeUserConf = false;
};
fonts = with pkgs; [
2019-08-04 00:45:13 +02:00
arphic-ukai
arphic-uming
2019-02-26 13:44:40 +01:00
corefonts # Microsoft free fonts
dejavu_fonts
font-awesome-ttf
2019-02-26 13:44:40 +01:00
inconsolata # monospaced
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
2019-08-04 00:45:13 +02:00
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
];
};
}