Skip to content

Commit d3363d8

Browse files
committed
fonts: don't add emoji everywhere
NixOS fontconfig configs already do this.
1 parent b670e56 commit d3363d8

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

system/programs/fonts.nix

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,11 @@
2424
enableDefaultPackages = false;
2525

2626
# user defined fonts
27-
# the reason there's Noto Color Emoji everywhere is to override DejaVu's
28-
# B&W emojis that would sometimes show instead of some Color emojis
29-
fontconfig.defaultFonts = let
30-
addAll = builtins.mapAttrs (_: v: v ++ ["Noto Color Emoji"]);
31-
in
32-
addAll {
33-
serif = ["Libertinus Serif"];
34-
sansSerif = ["Inter"];
35-
monospace = ["JetBrains Mono Nerd Font"];
36-
emoji = [];
37-
};
27+
fontconfig.defaultFonts = {
28+
serif = ["Libertinus Serif"];
29+
sansSerif = ["Inter"];
30+
monospace = ["JetBrains Mono Nerd Font"];
31+
emoji = ["Noto Color Emoji"];
32+
};
3833
};
3934
}

0 commit comments

Comments
 (0)