switch to ensureDBOwnership for buildbot
This commit is contained in:
parent
fe1909ce5c
commit
3c1cf982ad
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue