From c066c5f4180eaa8d199e3bdf57b88a13970f6f8f Mon Sep 17 00:00:00 2001 From: stitchy Date: Fri, 10 Oct 2025 00:45:39 -0700 Subject: [PATCH] feat(tanzanite): immich Added immich as a service that I host. We shall see if it stays --- hosts/tanzanite/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index 2538838..34b64ac 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -69,6 +69,15 @@ in { return = "404"; }; }; + "pics.stitchy.moe" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://[::1]:${toString config.services.immich.port}"; + proxyWebsockets = true; + recommendedProxySettings = true; + }; + }; "syncv3.stitchy.moe" = { enableACME = true; forceSSL = true; @@ -102,6 +111,11 @@ in { }; }; }; + immich = { + enable = true; + port = 2283; + mediaLocation = "/opt/services/immich"; + }; postgresql = { dataDir = "/opt/services/postgresql/${config.services.postgresql.package.psqlSchema}"; };