mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 05:40:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			332 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			332 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   lib,
 | |
|   ...
 | |
| }:
 | |
| {
 | |
|   # Create a NixOS module option on a single line.
 | |
|   mkOpt =
 | |
|     type: default: description:
 | |
|     lib.mkOption { inherit type default description; };
 | |
| 
 | |
|   # Create a simple bool options
 | |
|   mkBool =
 | |
|     default: description:
 | |
|     lib.mkOption {
 | |
|       inherit default description;
 | |
|       type = lib.types.bool;
 | |
|     };
 | |
| }
 |