From c2f75b35678aee75fb754cb273d842d561746bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 28 Nov 2024 21:17:30 +0200 Subject: [PATCH] Revert "immich: remove explicit redis block" This reverts commit 2dbd473c68850c48088e5f08f734e32e31afeb90. --- modules/services/immich/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/services/immich/default.nix b/modules/services/immich/default.nix index c656042..92ce29a 100644 --- a/modules/services/immich/default.nix +++ b/modules/services/immich/default.nix @@ -41,6 +41,15 @@ in services.immich = { enable = true; port = myData.ports.immich-server; + + # TODO: remove the whole block 24.11: redis should listen on the unix socket + # if immich can't find/connect to redis, it will fail on boot, so it's + # safe to experiment. + redis = { + enable = true; + host = "127.0.0.1"; + port = 6379; + }; }; services.caddy.virtualHosts."photos.jakstys.lt:80".extraConfig = ''