jellyfin: Pass through graphics card

This commit is contained in:
Jan Kremer 2026-01-18 21:28:43 +01:00
parent 56cbc557fb
commit 98fd6d9fb1
No known key found for this signature in database

View file

@ -1,11 +1,29 @@
{
containers.jellyfin = {
autoStart = true;
allowedDevices = [
{
node = "/dev/dri/card0";
modifier = "rw";
}
{
node = "/dev/dri/renderD128";
modifier = "rw";
}
];
bindMounts = {
"/media" = {
hostPath = "/mnt/sdb1/media";
isReadOnly = false;
};
"/dev/dri/card0" = {
hostPath = "/dev/dri/card0";
isReadOnly = false;
};
"/dev/dri/renderD128" = {
hostPath = "/dev/dri/renderD128";
isReadOnly = false;
};
};
config =
@ -28,6 +46,7 @@
jellyfin
jellyfin-web
jellyfin-ffmpeg
libva-utils
];
## Hardware transcoding