mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-30 17:32:09 +01:00 
			
		
		
		
	add navidrome
This commit is contained in:
		
							parent
							
								
									492ba6e73f
								
							
						
					
					
						commit
						3208d8fae7
					
				
					 2 changed files with 26 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								extra/webapps/navidrome.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								extra/webapps/navidrome.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| { config, pkgs, ... }: | ||||
| { | ||||
|   services.navidrome = { | ||||
|     enable = true; | ||||
|     settings = { | ||||
|       Address = "0.0.0.0"; | ||||
|       MusicFolder = "/srv/data/music"; | ||||
|     }; | ||||
|   }; | ||||
|   networking.firewall.allowedTCPPorts = [ 4533 ]; | ||||
| 
 | ||||
|   systemd.services.navidrome = { | ||||
|     after = [ "network-online.target" ]; | ||||
|     #unitConfig.RequiresMountsFor = [ "/storage" ]; | ||||
|   }; | ||||
| 
 | ||||
|   webapps.apps.navidrome = { | ||||
|     dashboard = { | ||||
|       name = "Navidrome"; | ||||
|       category = "app"; | ||||
|       icon = "music"; | ||||
|       link = "http://192.168.178.60:4533"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler