diff options
author | Luke Granger-Brown <git@lukegb.com> | 2022-02-07 19:52:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 19:52:39 +0000 |
commit | a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208 (patch) | |
tree | 41c2efa067373ded13b81088e7969501bd38529f | |
parent | 5749c2be28241c7abd1632bea061802dad2ff44f (diff) | |
parent | ff85de6ce806a4ef6cb163d7944b51ca84ad434b (diff) | |
download | nixpkgs-a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208.tar nixpkgs-a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208.tar.gz nixpkgs-a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208.tar.bz2 nixpkgs-a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208.tar.lz nixpkgs-a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208.tar.xz nixpkgs-a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208.tar.zst nixpkgs-a17a7f73cbde3d3cf3f165df3f56fadd7f4fd208.zip |
Merge pull request #158384 from afreakk/plex-remove-unused-option
plex: remove unused option `managePlugins`
-rw-r--r-- | nixos/modules/services/misc/plex.nix | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/nixos/modules/services/misc/plex.nix b/nixos/modules/services/misc/plex.nix index 2ae4e80d5c3..7000d45975f 100644 --- a/nixos/modules/services/misc/plex.nix +++ b/nixos/modules/services/misc/plex.nix @@ -6,6 +6,10 @@ let cfg = config.services.plex; in { + imports = [ + (mkRemovedOptionModule [ "services" "plex" "managePlugins" ] "Please omit or define the option: `services.plex.extraPlugins' instead.") + ]; + options = { services.plex = { enable = mkEnableOption "Plex Media Server"; @@ -42,16 +46,6 @@ in ''; }; - managePlugins = mkOption { - type = types.bool; - default = true; - description = '' - If set to true, this option will cause all of the symlinks in Plex's - plugin directory to be removed and symlinks for paths specified in - <option>extraPlugins</option> to be added. - ''; - }; - extraPlugins = mkOption { type = types.listOf types.path; default = []; @@ -59,9 +53,7 @@ in A list of paths to extra plugin bundles to install in Plex's plugin directory. Every time the systemd unit for Plex starts up, all of the symlinks in Plex's plugin directory will be cleared and this module - will symlink all of the paths specified here to that directory. If - this behavior is undesired, set <option>managePlugins</option> to - false. + will symlink all of the paths specified here to that directory. ''; }; |