forked from jan-leila/nix-config
		
	feat: refactored reverse proxy to be a normally named module
This commit is contained in:
		
							parent
							
								
									466926b919
								
							
						
					
					
						commit
						4dd285c122
					
				
					 29 changed files with 352 additions and 426 deletions
				
			
		|  | @ -102,11 +102,6 @@ | |||
|         directories = ["leyla_documents" "eve_documents" "users_documents" "media"]; | ||||
|       }; | ||||
|     }; | ||||
|     reverse_proxy = { | ||||
|       enable = true; | ||||
|       enableACME = true; | ||||
|       hostname = "jan-leila.com"; | ||||
|     }; | ||||
|     postgres = { | ||||
|       extraUsers = { | ||||
|         leyla = { | ||||
|  | @ -237,6 +232,16 @@ | |||
|       gnome.enable = true; | ||||
|     }; | ||||
| 
 | ||||
|     # Enable new reverse proxy system | ||||
|     reverseProxy = { | ||||
|       enable = true; | ||||
|       openFirewall = true; | ||||
|       acme = { | ||||
|         enable = true; | ||||
|         email = "jan-leila@protonmail.com"; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     ollama = { | ||||
|       enable = true; | ||||
|       exposePort = true; | ||||
|  | @ -294,33 +299,33 @@ | |||
| 
 | ||||
|     jellyfin = { | ||||
|       enable = true; | ||||
|       subdomain = "media"; | ||||
|       extraSubdomains = ["jellyfin"]; | ||||
|       domain = "media.jan-leila.com"; | ||||
|       extraDomains = ["jellyfin.jan-leila.com"]; | ||||
|     }; | ||||
| 
 | ||||
|     immich = { | ||||
|       enable = true; | ||||
|       subdomain = "photos"; | ||||
|       domain = "photos.jan-leila.com"; | ||||
|     }; | ||||
| 
 | ||||
|     forgejo = { | ||||
|       enable = true; | ||||
|       subdomain = "git"; | ||||
|       domain = "git.jan-leila.com"; | ||||
|     }; | ||||
| 
 | ||||
|     searx = { | ||||
|       enable = true; | ||||
|       subdomain = "search"; | ||||
|       domain = "search.jan-leila.com"; | ||||
|     }; | ||||
| 
 | ||||
|     actual = { | ||||
|       enable = false; | ||||
|       subdomain = "budget"; | ||||
|       domain = "budget.jan-leila.com"; | ||||
|     }; | ||||
| 
 | ||||
|     home-assistant = { | ||||
|       enable = true; | ||||
|       subdomain = "home"; | ||||
|       domain = "home.jan-leila.com"; | ||||
|       openFirewall = true; | ||||
|       database = "postgres"; | ||||
| 
 | ||||
|  | @ -333,7 +338,7 @@ | |||
| 
 | ||||
|     paperless = { | ||||
|       enable = true; | ||||
|       subdomain = "documents"; | ||||
|       domain = "documents.jan-leila.com"; | ||||
|       passwordFile = config.sops.secrets."services/paperless_password".path; | ||||
|     }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue