switched from unstable to 25.05 instead. However, Nextcloud admin reset is broken

This commit is contained in:
eyjhb 2025-05-31 13:55:31 +02:00
parent 54c4361f64
commit eb034b35d9
Signed by: eyjhb
GPG key ID: 609F508E3239F920
2 changed files with 8 additions and 6 deletions

View file

@ -127,7 +127,7 @@ let
in {
services.nextcloud = {
enable = true;
package = pkgs.nextcloud30;
package = pkgs.nextcloud31;
datadir = stateDir;
config.adminpassFile = config.age.secrets.nextcloud-admin-pass.path;
@ -200,7 +200,9 @@ in {
# runs this after all the main nextcloud-setup stuff
script = lib.mkAfter ''
${nextcloudSetupLdap}
${nextcloudSetupAdmin}
# TODO(eyJhb): fix, broken by upstream here
# https://github.com/NixOS/nixpkgs/commit/2ce1e841032eac4913f2cd3dce416da3d5c799ef
# ${nextcloudSetupAdmin}
${nextcloudSetupEncryption}
${nextcloudSetupStorageQuota}
'';