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