From 667b3855f2bd634809d44c534d260d70447d4fbb Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 1 Sep 2023 17:15:15 -0400 Subject: templates/nixos: add nix.registry options --- templates/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/default.nix') diff --git a/templates/default.nix b/templates/default.nix index 30c5a5d..6ea1be4 100644 --- a/templates/default.nix +++ b/templates/default.nix @@ -1,9 +1,9 @@ -{self, ...}: { +{ flake = { templates = let # string -> string -> {} mkTemplate = name: description: { - path = "${self}/templates/${name}"; + path = ./${name}; inherit description; }; in { -- cgit v1.2.3