panacea/modules/audio.nix

16 lines
262 B
Nix

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