From ed7ce7a27685583f1613c6cc0cf747c8fa1cb0f6 Mon Sep 17 00:00:00 2001 From: cinereal Date: Tue, 17 Jun 2025 22:55:10 +0200 Subject: [PATCH] add shorthands --- lib.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib.nix b/lib.nix index affec40..8e7e1c9 100644 --- a/lib.nix +++ b/lib.nix @@ -30,4 +30,7 @@ rec { template_json = options: template_generator (lib.generators.toJSON options); template_yaml = options: template_generator (lib.generators.toYAML options); # just json template_ini = options: template_generator (lib.generators.toINI options); + template_json' = template_json { }; + template_yaml' = template_yaml { }; + template_ini' = template_ini { }; }