2023-03-26 16:33:03 +00:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
# Iosevka Gothic
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
(final: prev: {
|
2023-09-14 13:29:30 +00:00
|
|
|
iosevka = (prev.iosevka.overrideAttrs (_: {
|
|
|
|
# Fixes broken terminal output
|
|
|
|
buildPhase = ''
|
|
|
|
export HOME=$TMPDIR
|
|
|
|
runHook preBuild
|
|
|
|
npm run build --no-update-notifier -- --jCmd=$NIX_BUILD_CORES --verbose=9 ttf::$pname 2>/dev/null
|
|
|
|
runHook postBuild
|
|
|
|
'';
|
|
|
|
})).override {
|
2023-03-26 16:33:03 +00:00
|
|
|
privateBuildPlan = ''
|
|
|
|
[buildPlans.iosevka-gothic]
|
|
|
|
family = "Iosevka Gothic"
|
|
|
|
spacing = "normal"
|
|
|
|
serifs = "slab"
|
|
|
|
no-cv-ss = true
|
|
|
|
export-glyph-names = true
|
|
|
|
|
|
|
|
[buildPlans.iosevka-gothic.variants.design]
|
|
|
|
capital-a = "straight-base-serifed"
|
|
|
|
capital-b = "standard-bilateral-serifed"
|
|
|
|
capital-h = "serifed"
|
|
|
|
capital-i = "serifed"
|
|
|
|
capital-q = "crossing"
|
|
|
|
capital-r = "standing"
|
|
|
|
f = "tailed"
|
|
|
|
l = "tailed-serifed"
|
|
|
|
z = "cursive"
|
|
|
|
long-s = "bent-hook-tailed"
|
|
|
|
eszet = "sulzbacher-descending"
|
|
|
|
lower-mu = "tailed"
|
|
|
|
lower-xi = "flat-top"
|
|
|
|
three = "flat-top"
|
|
|
|
six = "straight-bar"
|
|
|
|
asterisk = "flip-penta-high"
|
|
|
|
pilcrow = "high"
|
|
|
|
caret = "medium"
|
|
|
|
paren = "normal"
|
|
|
|
brace = "curly-flat-boundary"
|
|
|
|
number-sign = "upright"
|
|
|
|
ampersand = "closed"
|
|
|
|
at = "short"
|
|
|
|
lig-ltgteq = "slanted"
|
|
|
|
ascii-single-quote = "raised-comma"
|
|
|
|
ascii-grave = "straight"
|
|
|
|
|
|
|
|
[buildPlans.iosevka-gothic.variants.italic]
|
|
|
|
capital-z = "cursive-with-horizontal-crossbar"
|
|
|
|
|
|
|
|
[buildPlans.iosevka-gothic.ligations]
|
|
|
|
inherits = "haskell"
|
|
|
|
'';
|
|
|
|
set = "gothic";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|