mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
nixosTests.pocket-id: fix postgresql test
Assisted-by: Pi coding agent (gpt-5.6-sol)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user