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
26
nix/packages/altiosevka/buildplan.toml
Normal file
26
nix/packages/altiosevka/buildplan.toml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[buildPlans.altiosevka]
|
||||
family = "iosevka"
|
||||
spacing = "term"
|
||||
serifs = "sans"
|
||||
noLigation = true
|
||||
|
||||
[buildPlans.altiosevka.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.altiosevka.variants.italic]
|
||||
v = "cursive-serifless"
|
||||
w = "cursive-serifless"
|
||||
17
nix/packages/altiosevka/default.nix
Normal file
17
nix/packages/altiosevka/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ iosevka }:
|
||||
let
|
||||
pname = "altiosevka";
|
||||
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