17 lines
323 B
Nix
17 lines
323 B
Nix
_: {
|
|
services.postgresql = {
|
|
enable = true;
|
|
authentication = ''
|
|
local dendrite dendrite trust
|
|
'';
|
|
ensureDatabases = ["dendrite"];
|
|
ensureUsers = [
|
|
{
|
|
name = "dendrite";
|
|
ensurePermissions = {
|
|
"DaTABASE dendrite" = "ALL PRIVILEGES";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|