From f7df5736c1e73b354079ce6902a486648facdd6f Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 13 Jul 2024 17:37:08 +0300 Subject: [PATCH] Watch : Add a proper gpu device. --- container/Watch.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/container/Watch.nix b/container/Watch.nix index 519bce9..cd48d13 100644 --- a/container/Watch.nix +++ b/container/Watch.nix @@ -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";