nixfiles/hosts/hetzner-vm/services/mpd-broadcast/hosts/lappy.nix
ChaotiCryptidz 184afea0ee idfk
2022-01-29 18:06:26 +00:00

16 lines
307 B
Nix

{ pkgs, ... }:
let
sink_name = "roc-lappy";
description = "Lappy ROC Output";
ip_addr = "100.115.10.34";
in {
services.mpd.extraConfig = ''
audio_output {
type "pipe"
name "${description}"
command "${pkgs.roc-send-pcm}/bin/roc-send-pcm s16le 44.1k 2 ${ip_addr}"
}
'';
}