add shorthands
This commit is contained in:
		
							parent
							
								
									959d3911a5
								
							
						
					
					
						commit
						aa58480b33
					
				
					 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_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