nixos-config/2configs/home/streams.nix

15 lines
601 B
Nix
Raw Normal View History

2023-09-10 20:47:04 +02:00
{ pkgs, config, lib, ...}:
let
port = "2348";
in
{
2023-09-20 16:54:07 +02:00
# sonos does not support streams without ".mp3" at the end
2023-09-10 20:47:04 +02:00
services.nginx.virtualHosts."streams.lan" = {
locations."/teddy.mp3".return ="307 https://irmedia.streamabc.net/irm-rtliveplus-mp3-192-4919509";
2024-01-15 23:16:45 +01:00
locations."/teddykinder.mp3".return ="307 https://irmedia.streamabc.net/irm-rtkinderlieder-mp3-192-1697446";
locations."/teddy1.mp3".return ="307 https://irmedia.streamabc.net/irm-rtpersoplus01-mp3-192-4976733";
locations."/teddyinfo.mp3".return ="307 https://irmedia.streamabc.net/irm-rtinfospass-mp3-192-7462684";
2023-09-10 20:47:04 +02:00
};
}