diff options
author | sefidel <contact@sefidel.net> | 2023-11-22 21:43:34 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-11-22 21:43:34 +0900 |
commit | b2afda8202e5316d9e5310792b555941cadb5d5f (patch) | |
tree | 67edcdab07878fa45a216a88068149cfb982e70f /modules | |
parent | fe234540c9374c371075ea33fbe748cf638aabd9 (diff) | |
download | infra-b2afda8202e5316d9e5310792b555941cadb5d5f.tar.gz infra-b2afda8202e5316d9e5310792b555941cadb5d5f.zip |
chore: ensurePermissions -> ensureDBOwnership
Diffstat (limited to 'modules')
-rw-r--r-- | modules/services/matrix-bridge.nix | 6 | ||||
-rw-r--r-- | modules/services/vikunja.nix | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/services/matrix-bridge.nix b/modules/services/matrix-bridge.nix index bacd26d..3422a76 100644 --- a/modules/services/matrix-bridge.nix +++ b/modules/services/matrix-bridge.nix @@ -192,15 +192,15 @@ in services.postgresql.ensureUsers = [ { name = "mautrix-telegram"; - ensurePermissions."DATABASE \"mautrix-telegram\"" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "mautrix-signal"; - ensurePermissions."DATABASE \"mautrix-signal\"" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "mautrix-whatsapp"; - ensurePermissions."DATABASE \"mautrix-whatsapp\"" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; diff --git a/modules/services/vikunja.nix b/modules/services/vikunja.nix index eb5adbc..61e37c2 100644 --- a/modules/services/vikunja.nix +++ b/modules/services/vikunja.nix @@ -34,7 +34,7 @@ in services.postgresql.ensureUsers = [ { name = "vikunja"; - ensurePermissions."DATABASE vikunja" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; |