From 9cf846b82c3ae19acb5bb6c129ec2172ca60e1dd Mon Sep 17 00:00:00 2001 From: director Date: Fri, 30 Oct 2026 14:20:11 +0300 Subject: [PATCH] =?UTF-8?q?nextcloud:=20drop=20adminuser/adminpassFile=20?= =?UTF-8?q?=E2=80=94=20removed=20upstream=20in=20nixpkgs=2031ecbaca?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ' 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. --- modules/server/nextcloud.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/server/nextcloud.nix b/modules/server/nextcloud.nix index 7200c56..d39a5a6 100644 --- a/modules/server/nextcloud.nix +++ b/modules/server/nextcloud.nix @@ -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";