blob: a9b133c8722ede16c61c95acb1cc4e01e961e381 (
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; [
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 { };
};
}
|