about summary refs log tree commit diff
path: root/irc.nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-01-10 22:46:43 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-01-10 22:46:43 +0900
commit7503af7dba3ec66152ea230c423cd1a09a8c4158 (patch)
tree278feb6c24226b1b082e62a1242d7ea4ce445c73 /irc.nix
parent32c021bbed7707301f73e2d8362002a615502ed6 (diff)
downloadnixos-conf-7503af7dba3ec66152ea230c423cd1a09a8c4158.tar.gz
Adapt to services.postgresql new interface
Diffstat (limited to 'irc.nix')
-rw-r--r--irc.nix2
1 files changed, 1 insertions, 1 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" ];