Merge pull request 'add alice to postgres' (#81) from feature/temp-remove-attic into main
Some checks failed
Check flake.lock / Check health of `flake.lock` (push) Successful in 13s
Check Nix formatting / Perform Nix format checks (push) Successful in 3m31s
Check Nix flake / Perform Nix flake checks (push) Failing after 8m54s
Update flakes / update_lockfile (push) Successful in 18m48s

Reviewed-on: #81
This commit is contained in:
ahuston-0 2025-04-07 18:28:07 -04:00
commit 1998205bb0

View File

@ -28,12 +28,26 @@ in
'';
# initialScript = config.sops.secrets."postgres/init".path;
ensureDatabases = [ "atticd" ];
ensureDatabases = [
"atticd"
"alice"
];
ensureUsers = [
{
name = "atticd";
ensureDBOwnership = true;
}
{
name = "alice";
ensureDBOwnership = true;
ensureClauses = {
superuser = true;
login = true;
createrole = true;
createdb = true;
replication = true;
};
}
];
refreshCollation = true;
@ -48,6 +62,7 @@ in
"hydra-send-stats"
"hydra-server"
"atticd"
"gitea"
];
};
};