configuration.nix/hosts/rico1/services/postgresql.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";
};
}
];
};
}