nix-infra/config/hosts/audio/shairport-sync.nix

14 lines
289 B
Nix

{ ... }:
{
services.shairport-sync = {
enable = true;
openFirewall = true;
arguments = "-v -o alsa -- -d plughw:1,0 -r 48000";
};
environment.etc.shairport-sync-config = {
enable = true;
source = ./shairport-sync.conf;
target = "shairport-sync.conf";
};
}