stockholm/kartei/default.nix

19 lines
464 B
Nix
Raw Normal View History

2022-11-23 18:16:48 +01:00
{ config, lib, ... }: let
removeTemplate =
# TODO don't remove during CI
lib.flip builtins.removeAttrs ["template"];
in {
2022-11-23 17:49:57 +01:00
config =
lib.mkMerge
(lib.mapAttrsToList
(name: _type: let
path = ./. + "/${name}";
in {
2023-06-10 12:50:53 +02:00
krebs = import path { inherit config lib; };
2022-11-23 17:49:57 +01:00
})
2022-11-23 18:16:48 +01:00
(removeTemplate
(lib.filterAttrs
(_name: type: type == "directory")
(builtins.readDir ./.))));
2022-11-22 20:15:44 +01:00
}