Move audio configuration into a service module

- Move audio configuration into a service module to make it easily
  usable by multiple hosts.
- Allow configuration of AirPlay 2 name.
- Don't set MQTT topic of Shairport-Sync (AirPlay 2) explictly. Defaults
  to hostname now.
- Don't set sound.enable anymore, since its not needed.
This commit is contained in:
June 2023-11-02 21:57:08 +01:00
commit c9310374af
13 changed files with 246 additions and 155 deletions

View file

@ -14,8 +14,6 @@
nameservers = [
"10.31.210.1"
];
# Disable IPv6, since Shairport-Sync doesn't work with IPv6. Unclear why.
enableIPv6 = false;
};
systemd.network.links."10-net0" = {
matchConfig.MACAddress = "1E:EF:2D:92:81:DA";