setup jellyfin

This commit is contained in:
♥ Minnie ♥ 2023-10-30 21:40:06 +00:00
parent fe23d2f5fd
commit 6ce56ca13d
2 changed files with 21 additions and 0 deletions

View file

@ -11,9 +11,11 @@
./recyclarr
./qbittorrent
./minecraft
./jellyfin
./traefik
];
# Set docker as container implementation.
virtualisation.oci-containers.backend = "docker";
}

View file

@ -0,0 +1,19 @@
{ ... }:
{
# Jellyfin
virtualisation.oci-containers.containers."jellyfin" = {
autoStart = true;
image = "jellyfin/jellyfin";
volumes = [
"/srv/containers/jellyfin/config:/config"
"/srv/containers/jellyfin/cache:/cache"
"/srv/data/media:/media"
];
extraOptions = [
"--group-add=303"
"--device=/dev/dri/renderD128:/dev/dri/renderD128"
"--network=host"
];
};
}