mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
nixos/nextcloud: Rename option to services.nextcloud.disableImagemagick
... as was suggested in the related issue
This commit is contained in:
parent
e30311bc68
commit
6e6f5f0923
1 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ let
|
||||||
extensions = { enabled, all }:
|
extensions = { enabled, all }:
|
||||||
(with all;
|
(with all;
|
||||||
enabled
|
enabled
|
||||||
++ optional cfg.imagemagick imagick
|
++ optional (!cfg.disableImagemagick) imagick
|
||||||
# Optionally enabled depending on caching settings
|
# Optionally enabled depending on caching settings
|
||||||
++ optional cfg.caching.apcu apcu
|
++ optional cfg.caching.apcu apcu
|
||||||
++ optional cfg.caching.redis redis
|
++ optional cfg.caching.redis redis
|
||||||
|
@ -303,13 +303,13 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imagemagick = mkOption {
|
disableImagemagick = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to load the ImageMagick module into PHP.
|
Whether to not load the ImageMagick module into PHP.
|
||||||
This is used by the theming app and for generating previews of certain images (e.g. SVG and HEIF).
|
This is used by the theming app and for generating previews of certain images (e.g. SVG and HEIF).
|
||||||
You may want to disable this for increased security. In that case, previews will still be available
|
You may want to disable it for increased security. In that case, previews will still be available
|
||||||
for some images (e.g. JPEG and PNG).
|
for some images (e.g. JPEG and PNG).
|
||||||
See https://github.com/nextcloud/server/issues/13099
|
See https://github.com/nextcloud/server/issues/13099
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue