style/fonts: add fancy-iosevka once again

This commit is contained in:
Bloxx12 2025-07-03 23:34:39 +02:00
commit b414e7c2af
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -1,5 +1,45 @@
{pkgs, ...}: let
inherit (builtins) mapAttrs;
fancy-iosevka = pkgs.iosevka.override {
privateBuildPlan = {
family = "fancy-iosevka";
spacing = "term";
serifs = "sans";
noCvSs = true;
exportGlyphNames = false;
ligations.inherits = "dlig";
variants = {
inherits = "ss15";
design = {
e = "flat-crossbar";
f = "diagonal-tailed-crossbar-at-x-height";
};
};
weights.Regular = {
shape = 400;
menu = 400;
css = 400;
};
weights.Bold = {
shape = 700;
menu = 700;
css = 700;
};
widths.Condensed = {
shape = 500;
menu = 3;
css = "condensed";
};
widths.normal = {
shape = 600;
menu = 5;
css = "normal";
};
};
set = "Fancy";
};
in {
# A (somewhat) sane list of fonts to be installed.
fonts = {
@ -55,6 +95,8 @@ in {
comic-shanns-mono
symbols-only
;
inherit fancy-iosevka;
};
fontDir = {
# Whether to create a directory with links to all fonts in