forked from jan-leila/nix-config
		
	exposed jellyfin dlan
This commit is contained in:
		
							parent
							
								
									1637a83f84
								
							
						
					
					
						commit
						4eea3aa57d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -5,6 +5,7 @@ | |||
|   ... | ||||
| }: let | ||||
|   jellyfinPort = 8096; | ||||
|   dlanPort = 1900; | ||||
|   jellyfin_data_directory = "/var/lib/jellyfin"; | ||||
|   jellyfin_cache_directory = "/var/cache/jellyfin"; | ||||
| in { | ||||
|  | @ -50,7 +51,7 @@ in { | |||
|           pkgs.jellyfin-ffmpeg | ||||
|         ]; | ||||
| 
 | ||||
|         networking.firewall.allowedTCPPorts = [jellyfinPort]; | ||||
|         networking.firewall.allowedTCPPorts = [jellyfinPort dlanPort]; | ||||
|       } | ||||
|       (lib.mkIf config.services.fail2ban.enable { | ||||
|         environment.etc = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue