diff options
| author | seth <[email protected]> | 2023-08-19 21:18:10 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-08-19 22:35:45 -0400 |
| commit | d0e95ba2c00f6a87087823338543b4c9cba3f10b (patch) | |
| tree | 1ccf225f758b36781946808d693ef1b2118e73e6 /templates/default.nix | |
| parent | 7c73c16e76695947e8f0098fea8be33880113fac (diff) | |
start using flake-parts & hercules-ci
Diffstat (limited to 'templates/default.nix')
| -rw-r--r-- | templates/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/default.nix b/templates/default.nix new file mode 100644 index 0000000..67d62a0 --- /dev/null +++ b/templates/default.nix @@ -0,0 +1,14 @@ +{self, ...}: { + flake = { + templates = let + # string -> string -> {} + mkTemplate = name: description: { + path = "${self}/templates/${name}"; + inherit description; + }; + in { + basic = mkTemplate "basic" "minimal boilerplate for my flakes"; + full = mkTemplate "full" "big template for complex flakes (using flake-parts)"; + }; + }; +} |
