plex: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:23 +00:00
parent dd5bcb34c9
commit 15c52af2fe
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, rpmextract, glibc
{ config, stdenv, fetchurl, rpmextract, glibc
, dataDir ? "/var/lib/plex" # Plex's data directory must be baked into the package due to symlinks.
, enablePlexPass ? false
, enablePlexPass ? config.plex.enablePlexPass or false
}:
let

View File

@ -4875,7 +4875,7 @@ in
playbar2 = libsForQt5.callPackage ../applications/audio/playbar2 { };
plex = callPackage ../servers/plex { enablePlexPass = config.plex.enablePlexPass or false; };
plex = callPackage ../servers/plex { };
plexpy = callPackage ../servers/plexpy { python = python2; };