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}"; };