services.mpd.settings.music_directory

NixOS option

The directory or URI where MPD reads music from. If left as the default value this directory will automatically be created before the MPD server starts, otherwise the sysadmin is responsible for ensuring the directory exists with appropriate ownership and permissions.

type: absolute path or string matching the pattern ([a-z]+)://.+
Default
"${dataDir}/music"
declared in: nixos/modules/services/audio/mpd.nixView source on NixOS/nixpkgs →