nixos/plex: allow access to hardware acceleration libraries

CUDA and OpenCL libraries are located in /run/opengldriver/lib and Plex
can make use of them if available.
This commit is contained in:
Pascal Bach 2019-01-18 17:39:44 +01:00
parent d9f39b7252
commit 8347722775

View file

@ -145,7 +145,7 @@ in
PLEX_MEDIA_SERVER_HOME="${cfg.package}/usr/lib/plexmediaserver";
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6";
PLEX_MEDIA_SERVER_TMPDIR="/tmp";
LD_LIBRARY_PATH="${cfg.package}/usr/lib/plexmediaserver";
LD_LIBRARY_PATH="/run/opengl-driver/lib:${cfg.package}/usr/lib/plexmediaserver";
LC_ALL="en_US.UTF-8";
LANG="en_US.UTF-8";
};