MPD: Difference between revisions

imported>Makefu
m use uid of pipewire user instead of guessing the number
→‎Installation: fix startWhenNeeded option
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
   # Optional:
   # Optional:
   network.listenAddress = "any"; # if you want to allow non-localhost connections
   network.listenAddress = "any"; # if you want to allow non-localhost connections
   startWhenNeeded = true; # systemd feature: only start MPD service upon connection to its socket
   network.startWhenNeeded = true; # systemd feature: only start MPD service upon connection to its socket
};
};
</syntaxhighlight>
</syntaxhighlight>
Line 92: Line 92:


== PipeWire ==
== PipeWire ==
Make sure PipeWire is enabled. See https://nixos.wiki/wiki/PipeWire
Make sure PipeWire is enabled. See [[PipeWire]]


To use PipeWire, create an <code>audio_output</code> for it:
To use PipeWire, create an <code>audio_output</code> for it: