fonts.nix: add custom iosevka

This commit is contained in:
Charlie Root 2024-11-25 15:41:13 +01:00
commit 98c4a597e9
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

View file

@ -1,5 +1,19 @@
{pkgs, ...}: let {pkgs, ...}: let
inherit (builtins) mapAttrs; inherit (builtins) mapAttrs;
custom-iosevka = pkgs.iosevka.override {
privateBuildPlan = {
family = "Iosevka Custom";
spacing = "normal";
serifs = "sans";
noCvSs = true;
exportGlyphNames = false;
variants.inherits = "ss15";
ligations.inherits = "dlig";
};
set = "Fancy";
};
in { in {
# A (somewhat) sane list of fonts to be installed. # A (somewhat) sane list of fonts to be installed.
fonts = { fonts = {
@ -34,6 +48,7 @@ in {
}; };
}; };
packages = with pkgs; [ packages = with pkgs; [
# custom-iosevka
material-icons material-icons
material-design-icons material-design-icons
papirus-icon-theme papirus-icon-theme