about summary refs log tree commit diff
path: root/modules/nixos/grafana.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-25 18:09:05 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-25 18:09:05 +0300
commite2cc46b37e33643cf3dd017adb8a009bf143e246 (patch)
tree86f24ea544e9ed75bf8736c951a09dfdb2219f5d /modules/nixos/grafana.nix
parent2023-11-23 (diff)
2023-11-25
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