about summary refs log tree commit diff
path: root/modules/nixos/grafana.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/grafana.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/grafana.nix b/modules/nixos/grafana.nix
index ddf7f67..2f32225 100644
--- a/modules/nixos/grafana.nix
+++ b/modules/nixos/grafana.nix
@@ -113,7 +113,7 @@ in {
           ensureUsers = [
             {
               name = db;
-              ensurePermissions."DATABASE \"${db}\"" = "ALL";
+              ensureDBOwnership = true;
             }
           ];
         };

Consider giving Nix/NixOS a try! <3