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