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