services.mpd.startWhenNeeded
NixOS option
If set, mpd is socket-activated; that is, instead of having it permanently running as a daemon, systemd will start it on the first incoming connection.
type: booleanDefault
declared in: nixos/modules/services/audio/mpd.nixView source on NixOS/nixpkgs →false