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"]); serif = ["Noto Serif"];
in sansSerif = ["Inter"];
addAll { monospace = ["IntoneMono NF"];
serif = ["Noto Serif"]; emoji = ["Noto Color Emoji"];
sansSerif = ["Inter"]; };
monospace = ["Intel One Mono"];
emoji = [];
};
}; };
} }