blob: 9c4cf45499d9d50ae78f9a224537ee174983040c (
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
|
{ config, pkgs, ... }: {
fonts = {
packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
nerd-fonts.inconsolata-lgc
nerd-fonts.noto
(pkgs.callPackage ./berkeley-mono {})
];
fontconfig = {
defaultFonts = {
monospace = [ "Berkeley Mono" "Inconsolata LGC" ];
};
# localConf = ''
# <?xml version="1.0"?>
# <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
# <fontconfig>
# <match target="pattern">
# <test qual="any" name="family" compare="eq"><string>Berkeley Mono</string></test>
# <edit name="family" mode="assign" binding="same"><string>Inconsolata LGC</string></edit>
# </match>
# </fontconfig>
# '';
};
};
}
|