2025-03-02 16:50:12 +03:00
|
|
|
{ lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib) filterAttrs;
|
|
|
|
inherit (builtins) attrNames readDir;
|
|
|
|
moduleDirs =
|
|
|
|
dir:
|
|
|
|
map (name: dir + "/${name}") (attrNames (filterAttrs (_: type: type == "directory") (readDir dir)));
|
|
|
|
in
|
2025-02-19 12:35:10 +03:00
|
|
|
{
|
2025-03-02 16:50:12 +03:00
|
|
|
imports = moduleDirs ./.;
|
2025-02-19 12:35:10 +03:00
|
|
|
}
|