overlays/iosevka: useless refactor

This commit is contained in:
Primrose 2026-01-25 22:39:53 +01:00
parent cc9a1be62f
commit edf313dfb3
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -29,18 +29,18 @@ let
identityOverlay = _: _: { }; identityOverlay = _: _: { };
overlays = overlays =
lib.crossLists let
( # Useless complexity just for the fun
spacingCfg: variantCfg: n-airyToList = acc: x: {
lib.composeManyExtensions [ value = acc ++ [ x ];
spacingCfg __functor = self: n-airyToList self.value;
variantCfg };
] combinations = lib.crossLists (n-airyToList [ ]) [
)
[
(import ./spacings.nix) (import ./spacings.nix)
([ identityOverlay ] ++ import ./variants.nix) ([ identityOverlay ] ++ import ./variants.nix)
]; ];
in
map ({ value, ... }: lib.composeManyExtensions value) combinations;
iosevkas = lib.genAttrs' overlays ( iosevkas = lib.genAttrs' overlays (
overlay: overlay: