From bcf6b64a7a9c57690bf4052a7902536e3ce79480 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 10 Jul 2024 19:48:42 +0200 Subject: [PATCH] infra: add postgress pw --- nix/infra/backend.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/infra/backend.nix b/nix/infra/backend.nix index 1d0592a..f142bae 100644 --- a/nix/infra/backend.nix +++ b/nix/infra/backend.nix @@ -15,7 +15,7 @@ in wantedBy = [ "multi-user.target" ]; description = "Alisa Backend API Server"; environment = { - DATABASE_URL = ''postgres://${user}@localhost:${builtins.toString config.services.postgresql.settings.port}/${user}''; + DATABASE_URL = ''postgres://${user}:${user}@localhost:${builtins.toString config.services.postgresql.settings.port}/${user}''; TOKEN_SECRET = "secret"; }; serviceConfig = {