19 lines
		
	
	
		
			351 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			351 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| 
								 | 
							
								{ lib, ... }:
							 | 
						||
| 
								 | 
							
								{ options = {
							 | 
						||
| 
								 | 
							
								    host = lib.mkOption {
							 | 
						||
| 
								 | 
							
								      type        = lib.types.str;
							 | 
						||
| 
								 | 
							
								      example     = "127.0.0.1";
							 | 
						||
| 
								 | 
							
								      description = ''
							 | 
						||
| 
								 | 
							
								        Server host address.
							 | 
						||
| 
								 | 
							
								      '';
							 | 
						||
| 
								 | 
							
								    };
							 | 
						||
| 
								 | 
							
								    port = lib.mkOption {
							 | 
						||
| 
								 | 
							
								      type        = lib.types.int;
							 | 
						||
| 
								 | 
							
								      example     = 5088;
							 | 
						||
| 
								 | 
							
								      description = ''
							 | 
						||
| 
								 | 
							
								        Server host port.
							 | 
						||
| 
								 | 
							
								      '';
							 | 
						||
| 
								 | 
							
								    };
							 | 
						||
| 
								 | 
							
								  };
							 | 
						||
| 
								 | 
							
								}
							 |