summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/kay/modules/dendrite.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/hosts/kay/modules/dendrite.nix b/hosts/kay/modules/dendrite.nix
index 4ec2bb3..f5b2c97 100644
--- a/hosts/kay/modules/dendrite.nix
+++ b/hosts/kay/modules/dendrite.nix
@@ -21,12 +21,10 @@ in
listen_addresses = lib.mkForce "";
};
ensureDatabases = [ "dendrite" ];
- ensureUsers = [
- {
- name = "dendrite";
- ensurePermissions."DATABASE dendrite" = "ALL PRIVILEGES";
- }
- ];
+ ensureUsers = [{
+ name = "dendrite";
+ ensureDBOwnership = true;
+ }];
};
dendrite = {