mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nixos/mediatomb: fix doc errors
Follow-up to #93450 to fix the manual build.
This commit is contained in:
parent
19ac436cf5
commit
a4cde0f969
2 changed files with 17 additions and 14 deletions
|
@ -228,9 +228,8 @@ GRANT ALL PRIVILEGES ON *.* TO 'mysql'@'localhost' WITH GRANT OPTION;
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The <link linked="opt-services.mediatomb">mediatomb service</link>
|
The Mediatomb service declares new options. It also adapts existing
|
||||||
declares new options. It also adapts existing options so the
|
options to make the configuration generation lazy. The existing option
|
||||||
configuration generation is now lazy. The existing option
|
|
||||||
<literal>customCfg</literal> (defaults to false), when enabled, stops
|
<literal>customCfg</literal> (defaults to false), when enabled, stops
|
||||||
the service configuration generation completely. It then expects the
|
the service configuration generation completely. It then expects the
|
||||||
users to provide their own correct configuration at the right location
|
users to provide their own correct configuration at the right location
|
||||||
|
@ -886,17 +885,17 @@ CREATE ROLE postgres LOGIN SUPERUSER;
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The <link linked="opt-services.mediatomb">mediatomb service</link> is
|
The mediatomb service is now using the new and maintained <literal>gerbera</literal>
|
||||||
now using by default the new and maintained fork
|
<literal>gerbera</literal> fork instead of the unmaintained
|
||||||
<literal>gerbera</literal> package instead of the unmaintained
|
|
||||||
<literal>mediatomb</literal> package. If you want to keep the old
|
<literal>mediatomb</literal> package. If you want to keep the old
|
||||||
behavior, you must declare it with:
|
behavior, you must declare it with:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
services.mediatomb.package = pkgs.mediatomb;
|
services.mediatomb.package = pkgs.mediatomb;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
One new option <literal>openFirewall<literal> has been introduced which
|
One new option <literal>openFirewall</literal> has been introduced which
|
||||||
defaults to false. If you relied on the service declaration to add the
|
defaults to false. If you relied on the service declaration to add the
|
||||||
firewall rules itself before, you should now declare it with:
|
firewall rules itself before, you should now declare it with:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
|
|
@ -261,7 +261,7 @@ in {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "/var/lib/${name}";
|
default = "/var/lib/${name}";
|
||||||
description = ''
|
description = ''
|
||||||
The directory where ${cfg.serverName} stores its state, data, etc.
|
The directory where Gerbera/Mediatomb stores its state, data, etc.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -306,10 +306,12 @@ in {
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
If false (the default), this is up to the user to declare the firewall rules.
|
If false (the default), this is up to the user to declare the firewall rules.
|
||||||
If true, this opens the 1900 (tcp and udp) and ${toString cfg.port} (tcp) ports.
|
If true, this opens port 1900 (tcp and udp) and the port specified by
|
||||||
If the option cfg.interface is set, the firewall rules opened are
|
<option>sercvices.mediatomb.port</option>.
|
||||||
dedicated to that interface. Otherwise, those rules are opened
|
|
||||||
globally.
|
If the option <option>services.mediatomb.interface</option> is set,
|
||||||
|
the firewall rules opened are dedicated to that interface. Otherwise,
|
||||||
|
those rules are opened globally.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -337,10 +339,12 @@ in {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Allow ${name} to create and use its own config file inside ${cfg.dataDir}.
|
Allow ${name} to create and use its own config file inside the <literal>dataDir</literal> as
|
||||||
|
configured by <option>services.mediatomb.dataDir</option>.
|
||||||
Deactivated by default, the service then runs with the configuration generated from this module.
|
Deactivated by default, the service then runs with the configuration generated from this module.
|
||||||
Otherwise, when enabled, no service configuration is generated. Gerbera/Mediatomb then starts using
|
Otherwise, when enabled, no service configuration is generated. Gerbera/Mediatomb then starts using
|
||||||
${cfg.dataDir}/config.xml. It's up to the user to make a correct configuration file.
|
config.xml within the configured <literal>dataDir</literal>. It's up to the user to make a correct
|
||||||
|
configuration file.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue