diff --git a/nixos/modules/services/misc/mediatomb.nix b/nixos/modules/services/misc/mediatomb.nix index bc7d15458295..e56e9d6e4ba1 100644 --- a/nixos/modules/services/misc/mediatomb.nix +++ b/nixos/modules/services/misc/mediatomb.nix @@ -57,13 +57,14 @@ let ${cfg.dataDir} ${cfg.interface} ${pkg}/share/${name}/web + ${name}.db - ${lib.optionalString cfg.dsmSupport '' + ${optionalString cfg.dsmSupport '' @@ -232,6 +233,14 @@ in { ''; }; + pcDirectoryHide = mkOption { + type = types.bool; + default = true; + description = '' + Whether to list the top-level directory or not (from upnp client standpoint). + ''; + }; + user = mkOption { default = "mediatomb"; description = "User account under which ${name} runs.";