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-emoji
intel-one-mono
(nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];})
(nerdfonts.override {fonts = ["IntelOneMono"];})
];
enableDefaultPackages = false;
fontconfig.defaultFonts = let
addAll = builtins.mapAttrs (_: v: ["Symbols Nerd Font"] ++ v ++ ["Noto Color Emoji"]);
in
addAll {
fontconfig.defaultFonts = {
serif = ["Noto Serif"];
sansSerif = ["Inter"];
monospace = ["Intel One Mono"];
emoji = [];
monospace = ["IntoneMono NF"];
emoji = ["Noto Color Emoji"];
};
};
}