public-cof: fix NC encryption

This commit is contained in:
Raito Bezarius 2022-10-29 17:33:05 +02:00
parent 82cfe98dde
commit d1bc89653c

View file

@ -6,6 +6,13 @@
https = true;
package = pkgs.nextcloud25;
# OpenSSL 3.0.x breaks RC4 encryption for NextCloud
# But we enabled encryption for NextCloud
# Therefore...
phpPackage = lib.mkForce (pkgs.php81.withExtensions ({ enabled, all }:
(lib.filter (e: e != pkgs.php81.extensions.openssl) enabled)
++ [ (all.openssl.override { buildInputs = [ pkgs.openssl_1_1 ]; }) ]
));
config = {
overwriteProtocol = "https";