kartei: autoimport subdirs

This commit is contained in:
tv 2022-11-23 17:49:57 +01:00
parent c345613cf0
commit 5fa371dd93

View File

@ -1,15 +1,13 @@
{ config, lib, ... }: { { config, lib, ... }: {
config = lib.mkMerge (map (path: { krebs = import path { inherit config; }; }) [ config =
./dbalan lib.mkMerge
./jeschli (lib.mapAttrsToList
./kmein (name: _type: let
./krebs path = ./. + "/${name}";
./lass in {
./makefu krebs = import path { inherit config; };
./mic92 })
./others (lib.filterAttrs
./palo (_name: type: type == "directory")
./rtunreal (builtins.readDir ./.)));
./tv
]);
} }