blob: 0d812fd6a1c80fb9e1a576e62ffea78c4c7c0594 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ config, pkgs, ... }:
{
config = {
fonts = {
fonts = with pkgs; [
corefonts # microsoft fonts
ttf_bitstream_vera # dejavu without b&w emojis
libertine
liberation_ttf # free replacements for times …
google-fonts # vollkorn, source * pro, inconsolata
freefont_ttf
noto-fonts # noto fonts: great for fallbacks
noto-fonts-extra
noto-fonts-cjk
noto-fonts-emoji # emoji primary
twemoji-color-font # emoji fallback
unifont # bitmap font, good fallback
unifont_upper # upper unicode ranges of unifont
];
fontDir.enable = true;
enableGhostscriptFonts = true;
enableDefaultFonts = true;
fontconfig = {
enable = true;
antialias = true;
hinting.enable = true;
defaultFonts = {
monospace = [ "Bitstream Vera Sans Mono" "Noto Mono" ];
serif = [ "Vollkorn" "Noto Serif" ];
sansSerif = [ "Open Sans" "Noto Sans" ];
emoji = [ "Noto Color Emoji" "Twitter Color Emoji" "Unifont" "Unifont Upper" ];
};
};
};
};
}
|