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