summaryrefslogtreecommitdiffstats
path: root/kartei/default.nix
blob: 3b86250db23d162bccb5872ccdb6fd09c16828d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, ... }: {
  config =
    lib.mkMerge
      (lib.mapAttrsToList
        (name: _type: let
          path = ./. + "/${name}";
        in {
          krebs = import path { inherit config; };
        })
        (lib.filterAttrs
          (_name: type: type == "directory")
          (builtins.readDir ./.)));
}