stockholm/kartei/default.nix

19 lines
464 B
Nix
Raw Normal View History

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