{ config, lib, pkgs, ... }:
{
# Enable ALSA
sound.enable = true;
# Configure PulseAudio with mopidy tweaks
hardware.pulseaudio = {
enable = true;
tcp = {
anonymousClients.allowedIpRanges = [ "127.0.0.1" ];
};
}