mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
overlays/iosevka: refactor family name in spacing overlay
This commit is contained in:
parent
9230f7b378
commit
bc67b4226f
3 changed files with 16 additions and 17 deletions
|
|
@ -38,7 +38,7 @@ let
|
|||
]
|
||||
)
|
||||
[
|
||||
(import ./spacings.nix { inherit lib; })
|
||||
(import ./spacings.nix)
|
||||
([ identityOverlay ] ++ import ./variants.nix)
|
||||
];
|
||||
|
||||
|
|
@ -46,9 +46,8 @@ let
|
|||
overlay:
|
||||
let
|
||||
mergedConfig = lib.fix (lib.extends overlay iosevkaConfig);
|
||||
toKebabCase = x: builtins.replaceStrings [ " " ] [ "-" ] (lib.toLower x);
|
||||
in
|
||||
lib.nameValuePair (toKebabCase mergedConfig.family) (mkIosevka mergedConfig)
|
||||
lib.nameValuePair mergedConfig.family (mkIosevka mergedConfig)
|
||||
);
|
||||
|
||||
iosevka-nerds = builtins.mapAttrs (_: mkNerdFont) iosevkas;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue