nixos/doc: also note that external YAML files for grafana will end up in the store

This commit is contained in:
Maximilian Bosch 2022-11-20 20:03:38 +01:00
parent 98cadbcf70
commit 4a73fad515
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A
2 changed files with 10 additions and 0 deletions

View file

@ -1308,6 +1308,13 @@ services.github-runner.serviceOverrides.SupplementaryGroups = [
non-NixOS Grafana instances that you also want to
deploy to NixOS.
</para>
<para>
<emphasis role="strong">Note:</emphasis> secrets from
these files will be leaked into the store unless you
use a
<link xlink:href="https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#file-provider"><emphasis role="strong">file</emphasis>-provider
or env-var</link> for secrets!
</para>
</listitem>
<listitem>
<para>

View file

@ -426,6 +426,9 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
provisioning files from non-NixOS Grafana instances that you also want to
deploy to NixOS.
__Note:__ secrets from these files will be leaked into the store unless you use a
[**file**-provider or env-var](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#file-provider) for secrets!
- [](#opt-services.grafana.provision.notifiers) is not affected by this change because
this feature is deprecated by Grafana and will probably removed in Grafana 10.
It's recommended to use `services.grafana.provision.alerting.contactPoints` instead.