jellyfin: Pass through graphics card
This commit is contained in:
parent
56cbc557fb
commit
98fd6d9fb1
1 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue