Skip to content

Commit

Permalink
feat(fonts): add slab customs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez committed Dec 19, 2024
1 parent ce6efef commit 89a6386
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
5 changes: 4 additions & 1 deletion home-manager/features/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@

home.packages = with pkgs; [
iosevka # Allows for customization via privateBuildPlan
iosevka-term-custom # From my overlay

iosevka-custom # From my overlay
iosevka-term-custom # From my overlay
iosevka-slab-custom # From my overlay
iosevka-term-slab-custom # From my overlay

fira-code-symbols
nerd-fonts.fira-code
Expand Down
28 changes: 28 additions & 0 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@
inherits = "haskell"
'';
};
iosevka-term-slab-custom = prev.iosevka.override {
set = "TermSlabCustom";
privateBuildPlan = ''
[buildPlans.IosevkaTermSlabCustom]
family = "Iosevka Term Slab Custom"
spacing = "term"
serifs = "slab"
noCvSs = false
exportGlyphNames = true
[buildPlans.IosevkaTermSlabCustom.ligations]
inherits = "haskell"
'';
};
iosevka-custom = prev.iosevka.override {
set = "Custom";
privateBuildPlan = ''
Expand All @@ -52,5 +66,19 @@
inherits = "haskell"
'';
};
iosevka-slab-custom = prev.iosevka.override {
set = "SlabCustom";
privateBuildPlan = ''
[buildPlans.IosevkaSlabCustom]
family = "Iosevka Slab Custom"
spacing = "normal"
serifs = "slab"
noCvSs = false
exportGlyphNames = true
[buildPlans.IosevkaSlabCustom.ligations]
inherits = "haskell"
'';
};
};
}

0 comments on commit 89a6386

Please sign in to comment.