configuration.nix/hosts/rico1/services/postgresql.nix

14 lines
254 B
Nix

_: {
services.postgresql = {
enable = true;
ensureDatabases = ["dendrite"];
ensureUsers = [
{
name = "dendrite";
ensurePermissions = {
"DaTABASE dendrite" = "ALL PRIVILEGES";
};
}
];
};
}