Minidlna
services.minidlna.enable
Whether to enable MiniDLNA, a simple DLNA server.
It serves media files such as video and music to DLNA client devices
such as televisions and media players. If you use the firewall, consider
adding the following: services.minidlna.openFirewall = true;
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.openFirewall
Whether to open both HTTP (TCP) and SSDP (UDP) ports in the firewall.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings
The contents of MiniDLNA's configuration file. When the service is activated, a basic template is generated from the current options opened here.
Type: attribute set of (atom (null, bool, int, float or string) or a list of them for duplicate keys)
Default
{ }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.db_dir
Specify the directory where you want MiniDLNA to store its database and album art cache.
Type: path
Default
"/var/cache/minidlna"
Example
"/tmp/minidlna"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.enable_tivo
Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
Type: one of "yes", "no"
Default
"no"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.friendly_name
Name that the DLNA server presents to clients.
Type: string
Default
config.networking.hostName
Example
"rpi3"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.inotify
Whether to enable inotify monitoring to automatically discover new files.
Type: one of "yes", "no"
Default
"no"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.log_level
Defines the type of messages that should be logged and down to which level of importance.
Type: string
Default
"warn"
Example
"general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.media_dir
Directories to be scanned for media files.
The A,
V,
P,
prefixes restrict a directory to audio, video or image files.
The directories must be accessible to the minidlna
user account.
Type: list of string
Default
[ ]
Example
["/data/media""V,/home/alice/video"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.notify_interval
The interval between announces (in seconds).
Instead of waiting for announces, you should set openFirewall
option to use SSDP discovery.
Lower values (e.g. 30 seconds) should be used if your network blocks the discovery unicast.
Some relevant information can be found here:
https://sourceforge.net/p/minidlna/discussion/879957/thread/1389d197/
Type: signed integer
Default
90000
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.port
Port number for HTTP traffic (descriptions, SOAP, media transfer).
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
8200
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.root_container
Use a different container as the root of the directory tree presented to clients.
Type: string
Default
"B"
Example
"."
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix
services.minidlna.settings.wide_links
Set this to yes to allow symlinks that point outside user-defined media_dir
.
Type: one of "yes", "no"
Default
"no"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/minidlna.nix