summaryrefslogtreecommitdiff
path: root/templates/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default.nix')
-rw-r--r--templates/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/default.nix b/templates/default.nix
index 1c67349..62f535e 100644
--- a/templates/default.nix
+++ b/templates/default.nix
@@ -1,11 +1,8 @@
+self:
let
# string -> string -> {}
toTemplate = name: description: {
- path = builtins.path {
- path = ./${name};
- name = "${name}-template";
- };
-
+ path = self + "/templates/" + name;
inherit description;
};
in