From 7503af7dba3ec66152ea230c423cd1a09a8c4158 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 10 Jan 2024 22:46:43 +0900 Subject: Adapt to services.postgresql new interface --- irc.nix | 2 +- matrix.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/irc.nix b/irc.nix index 9c5b309..9f69ec3 100644 --- a/irc.nix +++ b/irc.nix @@ -57,7 +57,7 @@ in { ensureDatabases = [ "soju" ]; ensureUsers = [ { name = "soju"; - ensurePermissions."DATABASE soju" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; }; postgresqlBackup.databases = [ "soju" ]; diff --git a/matrix.nix b/matrix.nix index b88899f..e5c4147 100644 --- a/matrix.nix +++ b/matrix.nix @@ -121,7 +121,7 @@ in { ensureDatabases = [ "dendrite" ]; ensureUsers = [ { name = "dendrite"; - ensurePermissions."DATABASE dendrite" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; }; postgresqlBackup.databases = [ "dendrite" ]; -- cgit 1.4.1