fonts: simplify config

This commit is contained in:
Anthony Rodriguez 2024-10-01 11:51:08 +02:00
parent c807f8e68b
commit df55385271
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -4,18 +4,15 @@
noto-fonts noto-fonts
noto-fonts-emoji noto-fonts-emoji
intel-one-mono intel-one-mono
(nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];}) (nerdfonts.override {fonts = ["IntelOneMono"];})
]; ];
enableDefaultPackages = false; enableDefaultPackages = false;
fontconfig.defaultFonts = let fontconfig.defaultFonts = {
addAll = builtins.mapAttrs (_: v: ["Symbols Nerd Font"] ++ v ++ ["Noto Color Emoji"]);
in
addAll {
serif = ["Noto Serif"]; serif = ["Noto Serif"];
sansSerif = ["Inter"]; sansSerif = ["Inter"];
monospace = ["Intel One Mono"]; monospace = ["IntoneMono NF"];
emoji = []; emoji = ["Noto Color Emoji"];
}; };
}; };
} }