This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

snapserver: update to new config structure

+6 -10
+6 -10
2configs/snapserver.nix
··· 3 3 services.snapserver = { 4 4 enable = true; 5 5 # openFirewall = true; 6 - streams = { 7 - radio = { 8 - type = "process"; 9 - location = pkgs.writers.writeDash "radio" '' 6 + settings.stream = { 7 + source = [ 8 + "process://${pkgs.writers.writeDash "radio" '' 10 9 exec ${pkgs.mpv}/bin/mpv http://radio.lassul.us/radio.ogg \ 11 10 --no-terminal \ 12 11 --audio-display=no \ ··· 15 14 --audio-format=s16 \ 16 15 --ao=pcm \ 17 16 --ao-pcm-file=/dev/stdout 18 - ''; 19 - }; 20 - styx = { 21 - type = "pipe"; 22 - location = "/run/snapserver/snapfifo"; 23 - }; 17 + ''}?name=radio" 18 + "pipe:///run/snapserver/snapfifo?name=styx" 19 + ]; 24 20 }; 25 21 http.enable = true; 26 22 };