nixos/grafana: make warning more clear

This commit is contained in:
Maximilian Bosch 2022-11-14 11:49:04 +01:00
parent 9d7e9c5965
commit 6ee5ae3e48
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A

View file

@ -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