···125 <option>security.pam.services.<name?>.duoSecurity.enable</option>.
126 </para>
127 </listitem>
128+129+ <listitem>
130+ <para>
131+ Besides the existing <option>services.prometheus</option> module which
132+ targets Prometheus-1 a new <option>services.prometheus2</option> module
133+ has been added which targets Prometheus-2.
134+ </para>
135+ <para>
136+ Both modules can be enabled at the same time. In fact
137+ <link xlink:href="https://prometheus.io/docs/prometheus/latest/migration/#storage">
138+ this is needed for upgrading existing Prometheus-1 data to Prometheus-2
139+ </link>.
140+ </para>
141+ </listitem>
142 <listitem><para><filename>config/appstream.nix</filename></para></listitem>
143 <listitem><para><filename>config/xdg/sounds.nix</filename></para></listitem>
144 <listitem><para><filename>hardware/acpilight.nix</filename></para></listitem>
···573 <literal>nodejs-6_x</literal>, <literal>nodejs-slim-6_x</literal> and
574 <literal>nodePackages_6_x</literal> are removed.
575 </para>
576+ </listitem>
577+ <listitem>
578+ <para>
579+ The directory where Prometheus will store its metric data is now
580+ managed by systemd's StateDirectory mechanism. It still defaults
581+ to <literal>/var/lib/prometheus</literal>.
582+ </para>
583+ <para>
584+ Its location can be specified by the new
585+ <option>services.prometheus.stateDir</option> option which
586+ defaults to <literal>prometheus</literal>. Note that this should
587+ be a directory relative to <literal>/var/lib/</literal>.
588+ </para>
589+ <para>
590+ The option <option>services.prometheus.dataDir</option> has been
591+ deprecated. You can still set it but it's now required to have
592+ <literal>/var/lib/</literal> as a prefix and you can't set
593+ <option>services.prometheus.stateDir</option> at the same time.
594+ </para>
595 </listitem>
596 </itemizedlist>
597 </section>