From baf70ba44350f0c2ac264138936fdec2b871c8cc Mon Sep 17 00:00:00 2001 From: provokateurin Date: Sun, 26 Jul 2026 19:23:16 +0200 Subject: [PATCH] nixos/paperless: Configure Tika and Gotenberg endpoints to work with non-default listen addresses and ports --- nixos/modules/services/misc/paperless.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix index bfe8b651b350..ee0a6c0f4d5f 100644 --- a/nixos/modules/services/misc/paperless.nix +++ b/nixos/modules/services/misc/paperless.nix @@ -447,7 +447,9 @@ in }) (lib.mkIf cfg.configureTika { PAPERLESS_GOTENBERG_ENABLED = true; + PAPERLESS_TIKA_GOTENBERG_ENDPOINT = "http://${config.services.gotenberg.bindIP}:${toString config.services.gotenberg.port}"; PAPERLESS_TIKA_ENABLED = true; + PAPERLESS_TIKA_ENDPOINT = "http://${config.services.tika.listenAddress}:${toString config.services.tika.port}"; }) ];