2023-09-11 21:40:35 +02:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
services.shairport-sync = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
2023-09-11 21:47:11 +02:00
|
|
|
arguments = "-v -o alsa -- -d plughw:1,0 -r 48000";
|
2023-09-11 21:40:35 +02:00
|
|
|
};
|
2023-09-11 23:19:38 +02:00
|
|
|
|
|
|
|
environment.etc.shairport-sync-config = {
|
|
|
|
enable = true;
|
|
|
|
source = ./shairport-sync.conf;
|
|
|
|
target = "shairport-sync.conf";
|
|
|
|
};
|
2023-09-11 21:40:35 +02:00
|
|
|
}
|