moved service config out of host namespace
This commit is contained in:
		
							parent
							
								
									c7938c3fe7
								
							
						
					
					
						commit
						597c25b49d
					
				
					 7 changed files with 98 additions and 125 deletions
				
			
		|  | @ -48,9 +48,6 @@ | |||
|         ]; | ||||
|       }; | ||||
|     }; | ||||
|     fail2ban = { | ||||
|       enable = true; | ||||
|     }; | ||||
|     network_storage = { | ||||
|       enable = true; | ||||
|       directories = [ | ||||
|  | @ -74,7 +71,7 @@ | |||
|           folder = "media"; | ||||
|           user = "jellyfin"; | ||||
|           group = "jellyfin_media"; | ||||
|           bind = config.host.jellyfin.media_directory; | ||||
|           bind = config.services.jellyfin.media_directory; | ||||
|         } | ||||
|       ]; | ||||
|       nfs = { | ||||
|  | @ -94,19 +91,6 @@ | |||
|         }; | ||||
|       }; | ||||
|     }; | ||||
|     jellyfin = { | ||||
|       enable = true; | ||||
|       subdomain = "media"; | ||||
|       extraSubdomains = ["jellyfin"]; | ||||
|     }; | ||||
|     forgejo = { | ||||
|       enable = true; | ||||
|       subdomain = "git"; | ||||
|     }; | ||||
|     searx = { | ||||
|       enable = true; | ||||
|       subdomain = "search"; | ||||
|     }; | ||||
|     home-assistant = { | ||||
|       enable = false; | ||||
|       subdomain = "home"; | ||||
|  | @ -114,10 +98,6 @@ | |||
|     adguardhome = { | ||||
|       enable = false; | ||||
|     }; | ||||
|     immich = { | ||||
|       enable = true; | ||||
|       subdomain = "photos"; | ||||
|     }; | ||||
|     sync = { | ||||
|       enable = true; | ||||
|       folders = { | ||||
|  | @ -187,6 +167,29 @@ | |||
|         "--accept-dns=false" | ||||
|       ]; | ||||
|     }; | ||||
| 
 | ||||
|     fail2ban.enable = true; | ||||
| 
 | ||||
|     jellyfin = { | ||||
|       enable = true; | ||||
|       subdomain = "media"; | ||||
|       extraSubdomains = ["jellyfin"]; | ||||
|     }; | ||||
| 
 | ||||
|     immich = { | ||||
|       enable = true; | ||||
|       subdomain = "photos"; | ||||
|     }; | ||||
| 
 | ||||
|     forgejo = { | ||||
|       enable = true; | ||||
|       subdomain = "git"; | ||||
|     }; | ||||
| 
 | ||||
|     searx = { | ||||
|       enable = true; | ||||
|       subdomain = "search"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   # disable computer sleeping | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue