From b2afda8202e5316d9e5310792b555941cadb5d5f Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 22 Nov 2023 21:43:34 +0900 Subject: chore: ensurePermissions -> ensureDBOwnership --- modules/services/matrix-bridge.nix | 6 +++--- modules/services/vikunja.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/services') 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; } ]; -- cgit 1.4.1