···226 <filename>testing-python.nix</filename> respectively.
227 </para>
228 </listitem>
229+ <listitem>
230+ <para>
231+ The <link linked="opt-services.mediatomb">mediatomb service</link>
232+ declares new options. It also adapts existing options so the
233+ configuration generation is now lazy. The existing option
234+ <literal>customCfg</literal> (defaults to false), when enabled, stops
235+ the service configuration generation completely. It then expects the
236+ users to provide their own correct configuration at the right location
237+ (whereas the configuration was generated and not used at all before).
238+ The new option <literal>transcodingOption</literal> (defaults to no)
239+ allows a generated configuration. It makes the mediatomb service pulls
240+ the necessary runtime dependencies in the nix store (whereas it was
241+ generated with hardcoded values before). The new option
242+ <literal>mediaDirectories</literal> allows the users to declare autoscan
243+ media directories from their nixos configuration:
244+ <programlisting>
245+ services.mediatomb.mediaDirectories = [
246+ { path = "/var/lib/mediatomb/pictures"; recursive = false; hidden-files = false; }
247+ { path = "/var/lib/mediatomb/audio"; recursive = true; hidden-files = false; }
248+ ];
249+ </programlisting>
250+ </para>
251+ </listitem>
252+ </itemizedlist>
253 </section>
254255 <section xmlns="http://docbook.org/ns/docbook"
···886 </listitem>
887 </itemizedlist>
888 </para>
889+ <listitem>
890+ <para>
891+ The <link linked="opt-services.mediatomb">mediatomb service</link> is
892+ now using by default the new and maintained fork
893+ <literal>gerbera</literal> package instead of the unmaintained
894+ <literal>mediatomb</literal> package. If you want to keep the old
895+ behavior, you must declare it with:
896+ <programlisting>
897+ services.mediatomb.package = pkgs.mediatomb;
898+ </programlisting>
899+ One new option <literal>openFirewall<literal> has been introduced which
900+ defaults to false. If you relied on the service declaration to add the
901+ firewall rules itself before, you should now declare it with:
902+ <programlisting>
903+ services.mediatomb.openFirewall = true;
904+ </programlisting>
905+ </para>
906 </listitem>
907 </itemizedlist>
908 </section>