1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/modules/default.nix
2024-10-02 12:54:44 +02:00

5 lines
185 B
Nix

{ lib, ... }: let
mapModules = builtins.attrNames (lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./.));
in {
imports = builtins.map (dir: ./${dir}) mapModules;
}