mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: rename custom -> packages
This commit is contained in:
parent
754882bf0d
commit
afc2eea47a
24 changed files with 1 additions and 1 deletions
43
nix/packages/hiosevka/buildplan.toml
Normal file
43
nix/packages/hiosevka/buildplan.toml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[buildPlans.hiosevka]
|
||||
family = "hIosekva"
|
||||
spacing = "term"
|
||||
serifs = "sans"
|
||||
exportGlyphNames = true
|
||||
|
||||
[buildPlans.hiosevka.ligations]
|
||||
inherits = "haskell"
|
||||
enables = [
|
||||
"brst", # (* *)
|
||||
"slash-asterisk", # /* */
|
||||
# disable <= =< >= completely (no arrows or comparison ligatures)
|
||||
"lteq-separate",
|
||||
"eqlt-separate",
|
||||
"gteq-separate",
|
||||
]
|
||||
disables = [
|
||||
# never enable comparison ligatures
|
||||
"lteq", # <=
|
||||
"gteq", # >=
|
||||
"slasheq", # /=
|
||||
]
|
||||
|
||||
[buildPlans.hiosevka.variants.design]
|
||||
capital-z = 'straight-serifless-with-crossbar'
|
||||
capital-q = 'crossing'
|
||||
lower-lambda = 'tailed-turn'
|
||||
seven = 'straight-serifless-crossbar'
|
||||
number-sign = 'slanted'
|
||||
ampersand = "et-tailed"
|
||||
dollar = 'open'
|
||||
cent = "open"
|
||||
percent = 'rings-continuous-slash-also-connected'
|
||||
# explicitly declare with-notch
|
||||
lig-equal-chain = 'with-notch'
|
||||
lig-hyphen-chain = 'with-notch'
|
||||
lig-plus-chain = 'with-notch'
|
||||
lig-double-arrow-bar = 'with-notch'
|
||||
lig-single-arrow-bar = 'with-notch'
|
||||
|
||||
[buildPlans.hiosevka.variants.italic]
|
||||
v = "cursive-serifless"
|
||||
w = "cursive-serifless"
|
||||
17
nix/packages/hiosevka/default.nix
Normal file
17
nix/packages/hiosevka/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ iosevka }:
|
||||
let
|
||||
pname = "hiosevka";
|
||||
in
|
||||
(iosevka.overrideAttrs (_: {
|
||||
inherit pname;
|
||||
})).override
|
||||
{
|
||||
set = pname;
|
||||
/*
|
||||
Guide: https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
|
||||
|
||||
Use `term` spacing to avoid dashed arrow issue
|
||||
https://github.com/ryanoasis/nerd-fonts/issues/1018
|
||||
*/
|
||||
privateBuildPlan = builtins.readFile ./buildplan.toml;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue