diff --git a/modules/monitoring.nix b/modules/monitoring.nix index b25204d..71ecc4e 100644 --- a/modules/monitoring.nix +++ b/modules/monitoring.nix @@ -28,9 +28,7 @@ in ensureUsers = [ { name = "grafana"; - ensurePermissions = { - "DATABASE grafana" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; ensureDatabases = [ "grafana" ];