This commit is contained in:
soraefir
2026-05-15 00:15:40 +02:00
parent 45e375168e
commit 08a7ed2469

View File

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