l: use iosevka font from kookie

This commit is contained in:
lassulus 2022-11-22 00:14:31 +01:00
parent d6e4afaa99
commit 1079d8ed9b
2 changed files with 54 additions and 7 deletions

View File

@ -1,21 +1,23 @@
{ config, lib, pkgs, ... }: let { config, lib, pkgs, ... }: let
alacritty-cfg = extrVals: builtins.toJSON ({ alacritty-cfg = extrVals: builtins.toJSON ({
font = { font = let
family = "Iosevka";
in {
normal = { normal = {
family = "Inconsolata"; family = family;
style = "Regular"; style = "Regular";
}; };
bold = { bold = {
family = "Inconsolata"; family = family;
style = "Bold"; style = "Bold";
}; };
italic = { italic = {
family = "Inconsolata"; family = family;
style = "Italic"; style = "Italic";
}; };
bold_italic = { bold_italic = {
family = "Inconsolata"; family = family;
style = "Bold Italic"; style = "Bold Italic";
}; };
size = 8; size = 8;

View File

@ -108,10 +108,55 @@ in {
enableGhostscriptFonts = true; enableGhostscriptFonts = true;
fonts = with pkgs; [ fonts = with pkgs; [
hack-font
xorg.fontschumachermisc xorg.fontschumachermisc
terminus_font_ttf
inconsolata inconsolata
noto-fonts
(iosevka.override {
privateBuildPlan = {
family = "Iosevka";
spacing = "normal";
serifs = "sans";
no-ligation = true;
variants.design = {
capital-i = "serifless";
capital-j = "serifless";
a = "double-storey-tailed";
b = "toothless-corner";
d = "toothless-corner-serifless";
f = "flat-hook-tailed";
g = "earless-corner";
i = "tailed";
j = "serifless";
l = "tailed";
m = "earless-corner-double-arch";
n = "earless-corner-straight";
p = "earless-corner";
q = "earless-corner";
r = "earless-corner";
u = "toothless-rounded";
y = "cursive-flat-hook";
one = "line";
two = "straight-neck";
three = "flat-top";
four = "open";
six = "open-contour";
seven = "straight-serifless";
eight = "two-circles";
nine = "open-contour";
tilde = "low";
asterisk = "hex-low";
number-sign = "upright";
at = "short";
dollar = "open";
percent = "dots";
question = "corner-flat-hooked";
};
};
set = "kookiefonts";
})
]; ];
}; };