From 08a7ed2469677ed6c3a81fbba46dd569592571e5 Mon Sep 17 00:00:00 2001 From: soraefir Date: Fri, 15 May 2026 00:15:40 +0200 Subject: [PATCH] fix user --- modules/server/containers/apps/immich.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/server/containers/apps/immich.nix b/modules/server/containers/apps/immich.nix index d549b65..94d3c35 100644 --- a/modules/server/containers/apps/immich.nix +++ b/modules/server/containers/apps/immich.nix @@ -46,7 +46,7 @@ in { setup = { trigger = "server"; script = pkgs.writeShellScript "setup" '' - PSQL="${pkgs.postgresql}/bin/psql" + PSQL="${pkgs.postgresql}/bin/psql -U postgres" $PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS vector;" $PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS earthdistance;" '';