switch to ensureDBOwnership for buildbot
This commit is contained in:
parent
fe1909ce5c
commit
3c1cf982ad
|
@ -209,12 +209,10 @@ in
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ensureDatabases = [ "buildbot" ];
|
ensureDatabases = [ "buildbot" ];
|
||||||
ensureUsers = [
|
ensureUsers = [{
|
||||||
{
|
|
||||||
name = "buildbot";
|
name = "buildbot";
|
||||||
ensurePermissions."DATABASE buildbot" = "ALL PRIVILEGES";
|
ensureDBOwnership = true;
|
||||||
}
|
}];
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.enable = true;
|
services.nginx.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue