diff --git a/modules/nixos/jellyfin.nix b/modules/nixos/jellyfin.nix index 6824450..90ee998 100644 --- a/modules/nixos/jellyfin.nix +++ b/modules/nixos/jellyfin.nix @@ -6,14 +6,17 @@ "render" ]; - ## Grab EPG data daily + ## Grab EPG data daily, runs on port 5000 virtualisation.oci-containers = { containers = { epg = { image = "ghcr.io/iptv-org/epg:master"; - ports = [ "3000:3000" ]; + ports = [ "5000:3000" ]; volumes = [ "/mnt/media/TV/custom.channels.xml:/epg/public/channels.xml" ]; - extraOptions = [ "--network=host" ]; + extraOptions = [ "--dns=1.1.1.1" ]; + environment = { + DAYS = "7"; + }; }; }; };