From d858889911aa6c09bda87a109b3eb44e8e872a8a Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Sun, 18 Feb 2024 23:12:22 -0600 Subject: [PATCH] jelly test --- nas-apps/jellyfin.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nas-apps/jellyfin.nix b/nas-apps/jellyfin.nix index b431c8c..beada26 100644 --- a/nas-apps/jellyfin.nix +++ b/nas-apps/jellyfin.nix @@ -5,6 +5,7 @@ virtualisation.oci-containers.containers."jellyfin" = { autoStart = true; image = "jellyfin/jellyfin"; + extraOptions = [ "--runtime=nvidia" ]; volumes = [ "/mnt/Safe\ SSD/ssd_app_data/jellyfin/config:/config" "/mnt/Safe\ SSD/ssd_app_data/jellyfin/cache:/cache" @@ -15,10 +16,10 @@ ports = [ "8096:8096" ]; environment = { NVIDIA_VISIBLE_DEVICES = "all"; + NVIDIA_DRIVER_CAPABILITIES = "compute,utility"; JELLYFIN_LOG_DIR = "/log"; PUID = "911"; PGID = "1000"; }; - extraOptions = [ "--runtime=nvidia" ]; }; }