From d62e8cb43dd012187f4cdba5b106ce53016355da Mon Sep 17 00:00:00 2001
From: stuebinm
Date: Thu, 30 Nov 2023 22:21:22 +0100
Subject: jump to nixos 23.11

---
 chaski/services/tracktrain.nix | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'chaski/services')

diff --git a/chaski/services/tracktrain.nix b/chaski/services/tracktrain.nix
index bbaa693..50ba440 100644
--- a/chaski/services/tracktrain.nix
+++ b/chaski/services/tracktrain.nix
@@ -137,9 +137,7 @@ in
         ensureDatabases = [ "tracktrain" ];
         ensureUsers = [ {
           name = "tracktrain";
-          ensurePermissions = {
-            "DATABASE tracktrain" = "ALL PRIVILEGES";
-          };
+          ensureDBOwnership = true;
         } ];
         authentication = ''
           local   all   all                              trust
-- 
cgit v1.2.3