style/fonts: add fancy-iosevka once again
This commit is contained in:
parent
e1df5fa28e
commit
b414e7c2af
1 changed files with 42 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue