add shorthands
This commit is contained in:
parent
b3f77d4bb0
commit
a0cfdffbdc
1 changed files with 3 additions and 0 deletions
3
lib.nix
3
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 { };
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue