19 lines
269 B
Nix
19 lines
269 B
Nix
{
|
|
modules,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
toModule = file: {
|
|
_file = file;
|
|
imports = [
|
|
(import file {
|
|
inherit config pkgs;
|
|
lib = import ./mk-ext-lib.nix { inherit config lib pkgs; };
|
|
})
|
|
];
|
|
};
|
|
in
|
|
map toModule modules
|