Watch : Add a proper gpu device.

This commit is contained in:
Dmitry Voronin 2024-07-13 17:37:08 +03:00
parent 1f2e07e9ce
commit f7df5736c1
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -63,11 +63,16 @@ in {
allowedDevices = [
{
modifier = "rwm";
node = "/dev/dri";
node = "/dev/dri/renderD128";
}
];
config = { ... }: container.mkContainerConfig cfg {
# users.users.jellyfin.extraGroups = [
# "video"
# "render"
# ];
services.jellyfin = {
enable = true;
cacheDir = "/var/cache/jellyfin";