From 6ee5ae3e48512344e4ebed043cb62ce17417a33a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 14 Nov 2022 11:49:04 +0100 Subject: [PATCH] nixos/grafana: make warning more clear --- nixos/modules/services/monitoring/grafana.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix index d8dc4d1124f1..2d25ce93c4fc 100644 --- a/nixos/modules/services/monitoring/grafana.nix +++ b/nixos/modules/services/monitoring/grafana.nix @@ -1183,7 +1183,7 @@ in { doesntUseFileProvider cfg.settings.security.admin_password "admin" ) '' Grafana passwords will be stored as plaintext in the Nix store! - Use file/env provider or an env-var instead. + Use file provider or an env-var instead. '') # Warn about deprecated notifiers. ++ (optional (cfg.provision.notifiers != []) '' @@ -1203,7 +1203,7 @@ in { in any declarationUnsafe datasourcesToCheck ) '' Declarations in the `secureJsonData`-block of a datasource will be leaked to the - Nix store unless a file/env-provider or an env-var is used! + Nix store unless a file-provider or an env-var is used! '') ++ (optional ( any (x: x.secure_settings != null) cfg.provision.notifiers