diff options
author | Antoine Martin <antoine@alarsyo.net> | 2022-05-23 18:39:39 +0200 |
---|---|---|
committer | Antoine Martin <antoine@alarsyo.net> | 2022-05-23 18:39:39 +0200 |
commit | f3f0b60006cc992856061a16d9dc5bcf4ab20cfa (patch) | |
tree | 5a182b1e0c91a7f53b8a0ddbd4cbcb7999405683 /nixos/modules/services/web-apps/nextcloud.nix | |
parent | d9c647d7d8b3c1989c28cbefdfca6680f820bd23 (diff) |
nixos/nextcloud: use PHP 8 avoiding broken 2FA app
Diffstat (limited to 'nixos/modules/services/web-apps/nextcloud.nix')
-rw-r--r-- | nixos/modules/services/web-apps/nextcloud.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index a58e8aa3abd8a..1d5ec5594f791 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -633,8 +633,13 @@ in { services.nextcloud.phpPackage = if versionOlder cfg.package.version "21" then pkgs.php74 - else if versionOlder cfg.package.version "24" then pkgs.php80 - else pkgs.php81; + # FIXME: Use PHP 8.1 with Nextcloud 24 and higher, once issues like this one are fixed: + # + # https://github.com/nextcloud/twofactor_totp/issues/1192 + # + # else if versionOlder cfg.package.version "24" then pkgs.php80 + # else pkgs.php81; + else pkgs.php80; } { assertions = [ |