From 62ba46d201706e58787456da6a1faa5de2dfdef7 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 10 Jul 2024 18:22:06 +0200 Subject: [PATCH] infra: string conversion fix --- 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 f51997a..992259a 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:${config.services.postgresql.settings.port}/${user}"; + DATABASE_URL = ''postgres://${user}@localhost:${builtins.toString config.services.postgresql.settings.port}/${user}''; TOKEN_SECRET = "secret"; }; serviceConfig = {