diff --git a/flake.nix b/flake.nix index daef06f..3fd7889 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,6 @@ }; }; - templates = import ./templates { self = self.templates; }; + templates = import ./templates; }; } diff --git a/templates/default.nix b/templates/default.nix index 07d9e36..216d428 100644 --- a/templates/default.nix +++ b/templates/default.nix @@ -1,5 +1,4 @@ -{ self }: -{ +rec { basic = { path = ./basic; description = "A basic template"; @@ -25,5 +24,5 @@ ''; }; - defaultTemplate = self.basic; + defaultTemplate = basic; }