switch to ensureDBOwnership for buildbot

This commit is contained in:
Jörg Thalheim 2023-11-18 08:32:11 +01:00
parent fe1909ce5c
commit 3c1cf982ad

View file

@ -209,12 +209,10 @@ in
services.postgresql = {
enable = true;
ensureDatabases = [ "buildbot" ];
ensureUsers = [
{
name = "buildbot";
ensurePermissions."DATABASE buildbot" = "ALL PRIVILEGES";
}
];
ensureUsers = [{
name = "buildbot";
ensureDBOwnership = true;
}];
};
services.nginx.enable = true;