1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/modules/default.nix

6 lines
185 B
Nix
Raw Normal View History

2024-09-29 17:47:40 +02:00
{ lib, ... }: let
mapModules = builtins.attrNames (lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./.));
in {
imports = builtins.map (dir: ./${dir}) mapModules;
2024-01-09 15:46:18 +01:00
}