nixos/hosts/common/optional/arion-containers/jellyfin.nix

33 lines
1019 B
Nix
Raw Permalink Normal View History

2024-11-26 20:03:18 +00:00
{
virtualisation.arion = {
backend = "podman-socket";
projects.jellyfin = {
settings = {
services.jellyfin.service = {
ports = [
"8096:8096"
];
container_name = "jellyfin";
2024-11-26 20:03:18 +00:00
image = "lscr.io/linuxserver/jellyfin:latest";
restart = "always";
volumes = [
2025-01-12 16:10:35 +00:00
"/srv/docker/media-server/jellyfin/config:/config"
"/media/media/tv:/data/tvshows:ro"
"/media/media/movies:/data/movies:ro"
"/media/media/music/music_data:/data/music:ro"
"/media/media/youtube:/data/youtube:ro"
"/media/media/podcasts:/data/podcasts:ro"
"/srv/docker/media-server/jellyfin/config/custom-cont-init.d:/custom-cont-init.d:ro"
2024-11-26 20:03:18 +00:00
];
environment = {
PUID = "1000";
PGID = "1000";
DOCKER_MODS="linuxserver/mods:jellyfin-opencl-intel";
2024-11-26 20:03:18 +00:00
};
devices = ["/dev/dri:/dev/dri"];
};
};
};
};
}