jelly test
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
virtualisation.oci-containers.containers."jellyfin" = {
|
virtualisation.oci-containers.containers."jellyfin" = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "jellyfin/jellyfin";
|
image = "jellyfin/jellyfin";
|
||||||
|
extraOptions = [ "--runtime=nvidia" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/mnt/Safe\ SSD/ssd_app_data/jellyfin/config:/config"
|
"/mnt/Safe\ SSD/ssd_app_data/jellyfin/config:/config"
|
||||||
"/mnt/Safe\ SSD/ssd_app_data/jellyfin/cache:/cache"
|
"/mnt/Safe\ SSD/ssd_app_data/jellyfin/cache:/cache"
|
||||||
@@ -15,10 +16,10 @@
|
|||||||
ports = [ "8096:8096" ];
|
ports = [ "8096:8096" ];
|
||||||
environment = {
|
environment = {
|
||||||
NVIDIA_VISIBLE_DEVICES = "all";
|
NVIDIA_VISIBLE_DEVICES = "all";
|
||||||
|
NVIDIA_DRIVER_CAPABILITIES = "compute,utility";
|
||||||
JELLYFIN_LOG_DIR = "/log";
|
JELLYFIN_LOG_DIR = "/log";
|
||||||
PUID = "911";
|
PUID = "911";
|
||||||
PGID = "1000";
|
PGID = "1000";
|
||||||
};
|
};
|
||||||
extraOptions = [ "--runtime=nvidia" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user