Add Iosevka Aile font

This commit is contained in:
Erwin Boskma 2023-01-13 10:30:49 +01:00
parent 2a414bc5bb
commit 14a88cb52d
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -5,6 +5,88 @@
}: }:
with lib; let with lib; let
cfg = config.eboskma.fonts; cfg = config.eboskma.fonts;
iosevka-aile = pkgs.iosevka.override {
privateBuildPlan = {
family = "Iosevka Aile";
desc = "Sans serif";
spacing = "quasi-proportional";
snapshotFamily = "Iosevka Aile";
snapshotFeature = { "NWID" = 0; };
export-glyph-names = true;
variants.design = {
capital-i = "serifless";
capital-j = "serifless";
capital-k = "straight-serifless";
capital-m = "flat-bottom";
capital-w = "straight-flat-top";
a = "double-storey-serifless";
d = "toothed-serifless";
e = "flat-crossbar";
f = "flat-hook";
g = "single-storey-serifless";
i = "serifless";
j = "flat-hook-serifless";
k = "straight-serifless";
l = "serifless";
r = "compact";
t = "flat-hook";
u = "toothed";
w = "straight-flat-top";
y = "straight";
long-s = "flat-hook";
eszet = "longs-s-lig";
lower-iota = "flat-tailed";
lower-lambda = "straight-turn";
cyrl-ef = "serifless";
cyrl-capital-ka = "symmetric-connected-serifless";
cyrl-ka = "symmetric-connected-serifless";
cyrl-capital-u = "straight";
at = "fourfold";
percent = "rings-continuous-slash";
};
derivingVariants.mathtt.design = {
capital-i = "serifed";
capital-j = "serifless";
capital-k = "straight-serifless";
capital-m = "flat-bottom";
capital-w = "straight-flat-top";
a = "double-storey-serifless";
d = "toothed-serifless";
e = "flat-crossbar";
f = "flat-hook";
g = "single-storey-serifless";
i = "serifed";
j = "flat-hook-serifed";
k = "straight-serifless";
l = "serifed";
r = "compact";
t = "flat-hook";
u = "toothed";
w = "straight-flat-top";
y = "straight";
long-s = "flat-hook";
eszet = "longs-s-lig";
lower-iota = "flat-tailed";
lower-lambda = "straight-turn";
cyrl-ef = "serifless";
cyrl-capital-ka = "symmetric-connected-serifless";
cyrl-ka = "symmetric-connected-serifless";
cyrl-capital-u = "straight";
at = "fourfold";
percent = "rings-continuous-slash";
};
widths.normal = {
shape = 600;
menu = 5;
css = "normal";
};
};
set = "aile";
};
in in
{ {
options.eboskma.fonts = { enable = mkEnableOption "activate fonts"; }; options.eboskma.fonts = { enable = mkEnableOption "activate fonts"; };
@ -15,22 +97,24 @@ in
fonts = with pkgs; [ fonts = with pkgs; [
(nerdfonts.override { fonts = [ "CascadiaCode" "DroidSansMono" "FiraCode" "Inconsolata" "Iosevka" "Monoid" "Meslo" "Noto" "SourceCodePro" ]; }) (nerdfonts.override { fonts = [ "CascadiaCode" "DroidSansMono" "FiraCode" "Inconsolata" "Iosevka" "Monoid" "Meslo" "Noto" "SourceCodePro" ]; })
corefonts
dejavu_fonts dejavu_fonts
google-fonts google-fonts
iosevka-aile
kochi-substitute kochi-substitute
material-icons material-icons
noto-fonts-emoji noto-fonts-emoji
corefonts
recursive recursive
ttf_bitstream_vera ttf_bitstream_vera
twitter-color-emoji
]; ];
fontconfig = { fontconfig = {
defaultFonts = { defaultFonts = {
serif = [ "Recursive Sans Casual Static Medium" ]; serif = [ "Recursive Sans Casual Static Medium" ];
sansSerif = [ "Recursive Sans Linear Static Medium" ]; sansSerif = [ "Iosevka Aile" ];
monospace = [ "Iosevka Nerd Font" ]; monospace = [ "Iosevka Nerd Font" ];
emoji = [ "Noto Color Emoji" ]; emoji = [ "Twitter Color Emoji" ];
}; };
}; };
}; };