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: boolean
Default
false
declared in: nixos/modules/services/audio/mpd.nixView source on NixOS/nixpkgs →