fonts: simplify config
This commit is contained in:
parent
c807f8e68b
commit
df55385271
1 changed files with 7 additions and 10 deletions
|
@ -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"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue