nixos/nextcloud: use PHP 8 avoiding broken 2FA app
This commit is contained in:
parent
d9c647d7d8
commit
f3f0b60006
1 changed files with 7 additions and 2 deletions
|
@ -633,8 +633,13 @@ in {
|
||||||
|
|
||||||
services.nextcloud.phpPackage =
|
services.nextcloud.phpPackage =
|
||||||
if versionOlder cfg.package.version "21" then pkgs.php74
|
if versionOlder cfg.package.version "21" then pkgs.php74
|
||||||
else if versionOlder cfg.package.version "24" then pkgs.php80
|
# FIXME: Use PHP 8.1 with Nextcloud 24 and higher, once issues like this one are fixed:
|
||||||
else pkgs.php81;
|
#
|
||||||
|
# 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 = [
|
{ assertions = [
|
||||||
|
|
Loading…
Reference in a new issue