mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 06:19:38 +00:00
overlays/iosevka: useless refactor
This commit is contained in:
parent
cc9a1be62f
commit
edf313dfb3
1 changed files with 9 additions and 9 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue