1
0
Fork 0
nixos/config/fonts.nix

35 lines
748 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; [
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-sans-pro
2019-02-26 13:44:40 +01:00
source-han-sans-japanese
source-han-sans-korean
source-han-sans-simplified-chinese
source-han-sans-traditional-chinese
symbola
ubuntu_font_family
wqy_microhei
];
};
}