18 lines
315 B
Nix
18 lines
315 B
Nix
|
|
{
|
||
|
|
self,
|
||
|
|
inputs,
|
||
|
|
lib,
|
||
|
|
...
|
||
|
|
}: let
|
||
|
|
rootPath = ./..;
|
||
|
|
inherit (self) outputs;
|
||
|
|
importWithArgs = lib.flip import {inherit inputs outputs;};
|
||
|
|
in {
|
||
|
|
flake.overlays =
|
||
|
|
[
|
||
|
|
"modifications"
|
||
|
|
"additions"
|
||
|
|
]
|
||
|
|
|> (with lib; flip genAttrs (name: importWithArgs (rootPath + "/overlays/${name}")));
|
||
|
|
}
|