blob: c49f99c1268d098220f2639a389f5b907cebfb4d (
plain)
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
|
{
config,
pkgs,
...
}: let
guiFonts =
if config.sys.gui.enable
then
with pkgs; [
noto-fonts
noto-fonts-extra
noto-fonts-emoji
noto-fonts-cjk-sans
fira-code
(nerdfonts.override {fonts = ["FiraCode"];})
]
else [];
guiDefaultFonts =
if config.sys.gui.enable
then {
serif = ["Noto Serif"];
sansSerif = ["Noto Sans"];
emoji = ["Noto Color Emoji"];
monospace = ["Fira Code"];
}
else {};
in {
fonts = {
enableDefaultFonts = true;
fonts = guiFonts;
fontconfig.defaultFonts = guiDefaultFonts;
};
}
|