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