mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
nixos/nextcloud: remove duplicate php.ini entries
This commit is contained in:
parent
434a2783b8
commit
f72c123b6e
@ -11,7 +11,7 @@ let
|
||||
enabled
|
||||
++ (with all; [ apcu redis memcached imagick ]) # Necessary for vanilla nextcloud
|
||||
++ cfg.phpExtraExtensions all; # Enabled by user
|
||||
extraConfig = phpOptionsStr;
|
||||
extraConfig = toKeyValue phpOptions;
|
||||
};
|
||||
|
||||
toKeyValue = generators.toKeyValue {
|
||||
@ -23,7 +23,6 @@ let
|
||||
post_max_size = cfg.maxUploadSize;
|
||||
memory_limit = cfg.maxUploadSize;
|
||||
} // cfg.phpOptions;
|
||||
phpOptionsStr = toKeyValue phpOptions;
|
||||
|
||||
occ = pkgs.writeScriptBin "nextcloud-occ" ''
|
||||
#! ${pkgs.runtimeShell}
|
||||
@ -522,7 +521,6 @@ in {
|
||||
pools.nextcloud = {
|
||||
user = "nextcloud";
|
||||
group = "nextcloud";
|
||||
phpOptions = phpOptionsStr;
|
||||
phpPackage = phpPackage;
|
||||
phpEnv = {
|
||||
NEXTCLOUD_CONFIG_DIR = "${cfg.home}/config";
|
||||
|
Loading…
Reference in New Issue
Block a user