every.channel/nix/modules/ec-publisher-guest.nix

23 lines
450 B
Nix

{ lib, pkgs, ... }:
{
networking.hostName = lib.mkForce "ec-publisher";
services.every-channel.ec-node = {
relayUrl = lib.mkDefault "https://cdn.moq.dev/anon";
passthrough = lib.mkDefault false;
hdhomerun.autoDiscover = lib.mkDefault true;
control = {
enable = lib.mkDefault true;
discovery = lib.mkDefault "dht,mdns,dns";
};
};
environment.systemPackages = with pkgs; [
curl
ffmpeg
jq
];
}