about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJacob Moody <j4kem00dy@gmail.com>2023-06-06 17:11:10 -0500
committerGitHub <noreply@github.com>2023-06-07 00:11:10 +0200
commit39f220b6dffd9a1bd5520d7f1de9e890c43751f3 (patch)
treec25ad9062b10e77e48c4213865be728a6c5b7d4f /nixos/modules
parent06227275ae681d3964fe52035f27af46f190d2df (diff)
downloadnixlib-39f220b6dffd9a1bd5520d7f1de9e890c43751f3.tar
nixlib-39f220b6dffd9a1bd5520d7f1de9e890c43751f3.tar.gz
nixlib-39f220b6dffd9a1bd5520d7f1de9e890c43751f3.tar.bz2
nixlib-39f220b6dffd9a1bd5520d7f1de9e890c43751f3.tar.lz
nixlib-39f220b6dffd9a1bd5520d7f1de9e890c43751f3.tar.xz
nixlib-39f220b6dffd9a1bd5520d7f1de9e890c43751f3.tar.zst
nixlib-39f220b6dffd9a1bd5520d7f1de9e890c43751f3.zip
nixos/grafana: add jsonData datasource option (#234364)
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/monitoring/grafana.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix
index e74ee641db38..adffadf3fc47 100644
--- a/nixos/modules/services/monitoring/grafana.nix
+++ b/nixos/modules/services/monitoring/grafana.nix
@@ -121,6 +121,11 @@ let
         default = false;
         description = lib.mdDoc "Allow users to edit datasources from the UI.";
       };
+      jsonData = mkOption {
+        type = types.nullOr types.attrs;
+        default = null;
+        description = lib.mdDoc "Extra data for datasource plugins.";
+      };
       secureJsonData = mkOption {
         type = types.nullOr types.attrs;
         default = null;