infra: string conversion fix

This commit is contained in:
Johannes Jöns 2024-07-10 18:22:06 +02:00
parent 6d078b3e98
commit 62ba46d201

View file

@ -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 = {