diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml
index 6dcf8b6b23b..8135bb562c8 100644
--- a/nixos/doc/manual/release-notes/rl-2009.xml
+++ b/nixos/doc/manual/release-notes/rl-2009.xml
@@ -228,9 +228,8 @@ GRANT ALL PRIVILEGES ON *.* TO 'mysql'@'localhost' WITH GRANT OPTION;
- The mediatomb service
- declares new options. It also adapts existing options so the
- configuration generation is now lazy. The existing option
+ The Mediatomb service declares new options. It also adapts existing
+ options to make the configuration generation lazy. The existing option
customCfg (defaults to false), when enabled, stops
the service configuration generation completely. It then expects the
users to provide their own correct configuration at the right location
@@ -886,17 +885,17 @@ CREATE ROLE postgres LOGIN SUPERUSER;
+
- The mediatomb service is
- now using by default the new and maintained fork
- gerbera package instead of the unmaintained
+ The mediatomb service is now using the new and maintained gerbera
+ gerbera fork instead of the unmaintained
mediatomb package. If you want to keep the old
behavior, you must declare it with:
services.mediatomb.package = pkgs.mediatomb;
- One new option openFirewall has been introduced which
+ One new option openFirewall has been introduced which
defaults to false. If you relied on the service declaration to add the
firewall rules itself before, you should now declare it with:
diff --git a/nixos/modules/services/misc/mediatomb.nix b/nixos/modules/services/misc/mediatomb.nix
index ec6ef3d7b53..a19b73889ce 100644
--- a/nixos/modules/services/misc/mediatomb.nix
+++ b/nixos/modules/services/misc/mediatomb.nix
@@ -261,7 +261,7 @@ in {
type = types.path;
default = "/var/lib/${name}";
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;
description = ''
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 the option cfg.interface is set, the firewall rules opened are
- dedicated to that interface. Otherwise, those rules are opened
- globally.
+ If true, this opens port 1900 (tcp and udp) and the port specified by
+ .
+
+ If the 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;
default = false;
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 dataDir as
+ configured by .
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
- ${cfg.dataDir}/config.xml. It's up to the user to make a correct configuration file.
+ config.xml within the configured dataDir. It's up to the user to make a correct
+ configuration file.
'';
};