nixosTests.pocket-id: fix postgresql test (#567211)

This commit is contained in:
Marcus Ramberg
2026-09-28 10:50:31 +00:00
committed by GitHub

View File

@@ -36,13 +36,18 @@ in
enable = true;
settings = {
PORT = 10001;
DB_CONNECTION_STRING = "host=/run/postgresql user=${username} database=${username}";
DB_CONNECTION_STRING = "postgresql:///${username}?host=/run/postgresql";
};
credentials = {
inherit ENCRYPTION_KEY;
};
};
systemd.services.pocket-id = {
after = [ "postgresql.target" ];
requires = [ "postgresql.target" ];
};
services.postgresql = {
enable = true;
ensureUsers = [