change jellyfin from arion to oci container

This commit is contained in:
Sam 2025-01-27 10:41:43 +00:00
parent 3c0baaed18
commit 05012c2056

View file

@ -1,15 +1,12 @@
{
virtualisation.arion = {
backend = "podman-socket";
projects.jellyfin = {
settings = {
services.jellyfin.service = {
config.virtualisation.oci-containers = {
backend = "podman";
containers = {
jellyfin = {
image = "lscr.io/linuxserver/jellyfin:latest";
ports = [
"8096:8096"
];
container_name = "jellyfin";
image = "lscr.io/linuxserver/jellyfin:latest";
restart = "always";
volumes = [
"/srv/docker/media-server/jellyfin/config:/config"
"/media/media/tv:/data/tvshows:ro"
@ -24,8 +21,7 @@
PGID = "1000";
DOCKER_MODS = "linuxserver/mods:jellyfin-opencl-intel";
};
devices = ["/dev/dri:/dev/dri"];
};
extraOptions = ["--gpus=all"];
};
};
};