diff options
Diffstat (limited to 'kartei/default.nix')
-rw-r--r-- | kartei/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/kartei/default.nix b/kartei/default.nix index 3b86250db..6024e2351 100644 --- a/kartei/default.nix +++ b/kartei/default.nix @@ -1,4 +1,8 @@ -{ config, lib, ... }: { +{ config, lib, ... }: let + removeTemplate = + # TODO don't remove during CI + lib.flip builtins.removeAttrs ["template"]; +in { config = lib.mkMerge (lib.mapAttrsToList @@ -7,7 +11,8 @@ in { krebs = import path { inherit config; }; }) - (lib.filterAttrs - (_name: type: type == "directory") - (builtins.readDir ./.))); + (removeTemplate + (lib.filterAttrs + (_name: type: type == "directory") + (builtins.readDir ./.)))); } |