add shorthands
This commit is contained in:
parent
bb1f4fb8cb
commit
ed7ce7a276
1 changed files with 3 additions and 0 deletions
3
lib.nix
3
lib.nix
|
@ -30,4 +30,7 @@ rec {
|
||||||
template_json = options: template_generator (lib.generators.toJSON options);
|
template_json = options: template_generator (lib.generators.toJSON options);
|
||||||
template_yaml = options: template_generator (lib.generators.toYAML options); # just json
|
template_yaml = options: template_generator (lib.generators.toYAML options); # just json
|
||||||
template_ini = options: template_generator (lib.generators.toINI options);
|
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