···125125 <option>security.pam.services.<name?>.duoSecurity.enable</option>.
126126 </para>
127127 </listitem>
128128+129129+ <listitem>
130130+ <para>
131131+ Besides the existing <option>services.prometheus</option> module which
132132+ targets Prometheus-1 a new <option>services.prometheus2</option> module
133133+ has been added which targets Prometheus-2.
134134+ </para>
135135+ <para>
136136+ Both modules can be enabled at the same time. In fact
137137+ <link xlink:href="https://prometheus.io/docs/prometheus/latest/migration/#storage">
138138+ this is needed for upgrading existing Prometheus-1 data to Prometheus-2
139139+ </link>.
140140+ </para>
141141+ </listitem>
128142 <listitem><para><filename>config/appstream.nix</filename></para></listitem>
129143 <listitem><para><filename>config/xdg/sounds.nix</filename></para></listitem>
130144 <listitem><para><filename>hardware/acpilight.nix</filename></para></listitem>
···559573 <literal>nodejs-6_x</literal>, <literal>nodejs-slim-6_x</literal> and
560574 <literal>nodePackages_6_x</literal> are removed.
561575 </para>
576576+ </listitem>
577577+ <listitem>
578578+ <para>
579579+ The directory where Prometheus will store its metric data is now
580580+ managed by systemd's StateDirectory mechanism. It still defaults
581581+ to <literal>/var/lib/prometheus</literal>.
582582+ </para>
583583+ <para>
584584+ Its location can be specified by the new
585585+ <option>services.prometheus.stateDir</option> option which
586586+ defaults to <literal>prometheus</literal>. Note that this should
587587+ be a directory relative to <literal>/var/lib/</literal>.
588588+ </para>
589589+ <para>
590590+ The option <option>services.prometheus.dataDir</option> has been
591591+ deprecated. You can still set it but it's now required to have
592592+ <literal>/var/lib/</literal> as a prefix and you can't set
593593+ <option>services.prometheus.stateDir</option> at the same time.
594594+ </para>
562595 </listitem>
563596 </itemizedlist>
564597 </section>