nextcloud: drop adminuser/adminpassFile — removed upstream in nixpkgs 31ecbaca
nixos flake checks / invariant-checks (push) Failing after 15m4s
test-runner / smoke (push) Successful in 2s

nixpkgs 31ecbaca (flake update 7a5c9c6) replaced both options with
mkRemovedOptionModule: leaving them makes evaluation of EVERY host fail
with 'Failed assertions', so the flake update alone could not be deployed.

  - services.nextcloud.config.adminuser    -> removed
  - services.nextcloud.config.adminpassFile -> removed
  upstream: 'use nextcloud-occ user:add <username>'

On this installation the admin user already exists, so the two settings
were already inert. Verified with
  nix build --dry-run .#nixosConfigurations.sapphira...toplevel
=> evaluates; 744 derivations will be built, 1640 paths fetched.
This commit is contained in:
director committed 2026-10-30 14:20:11 +03:00
1 parent 7a5c9c6724
commit 9cf846b82c
1 file changed
+3 -2
+3 -2
View File
@@ -71,8 +71,9 @@ in
dbtype = "pgsql";
dbuser = "nextcloud";
dbname = "nextcloud";
adminuser = xlib.device.username;
adminpassFile = config.sops.secrets.nextcloud-adminpass.path;
# adminuser/adminpassFile удалены из nixpkgs (mkRemovedOptionModule):
# начального админа теперь создают вручную — `nextcloud-occ user:add`.
# На существующей установке админ уже есть, эти строки ничего не делали.
};
settings = {
log_type = "file";