From 23b90152a1e21df7174eb7aa0c41a3ba7b35b84a 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 0e7f0b9..4d23c26 100644 --- a/lib.nix +++ b/lib.nix @@ -34,4 +34,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 { }; }