22 lines
546 B
Nix
22 lines
546 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.jellyfin.enable = true; # port = 8096
|
|
environment.systemPackages = [
|
|
pkgs.jellyfin
|
|
pkgs.jellyfin-web
|
|
pkgs.jellyfin-ffmpeg
|
|
];
|
|
users.users.jellyfin.extraGroups = [ "media" ];
|
|
|
|
## Grab EPG data daily
|
|
virtualisation.oci-containers = {
|
|
containers = {
|
|
epg = {
|
|
image = "ghcr.io/iptv-org/epg:master";
|
|
ports = [ "3000:3000" ];
|
|
volumes = [ "/mnt/media/TV/custom.channels.xml:/epg/public/channels.xml" ];
|
|
extraOptions = [ "--network=host" ];
|
|
};
|
|
};
|
|
};
|
|
}
|