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}
'';

View file

@ -67,15 +67,15 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
"branch": "nixos-unstable",
"branch": "nixos-25.05",
"description": "Nix Packages collection",
"homepage": null,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4faa5f5321320e49a78ae7848582f684d64783e9",
"sha256": "1fcmsax6cs1s6p9apzxg17why08xy47dz226wnb5wwr0aargqlj2",
"rev": "7282cb574e0607e65224d33be8241eae7cfe0979",
"sha256": "0klkpy7ah033y3cwj51a0l96lwmkqqvwgfv3kid4z9x5g2rqr0l5",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/4faa5f5321320e49a78ae7848582f684d64783e9.tar.gz",
"url": "https://github.com/NixOS/nixpkgs/archive/7282cb574e0607e65224d33be8241eae7cfe0979.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}