From a6c88820038515ad4438593c14703f9d94ed00c4 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 28 Oct 2026 14:15:17 +0100 Subject: {hosts/server2,modules/nextcloud}: Remove adminPassFile This is no longer a supported option and admin provisioning should be done via the nextcloud cli now. --- modules/vhack/ne/nextcloud/module.nix | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'modules/vhack/ne') diff --git a/modules/vhack/ne/nextcloud/module.nix b/modules/vhack/ne/nextcloud/module.nix index ed51936..d28342b 100644 --- a/modules/vhack/ne/nextcloud/module.nix +++ b/modules/vhack/ne/nextcloud/module.nix @@ -17,10 +17,6 @@ in { type = lib.types.str; description = "The nextcloud hostname (fqdn)"; }; - adminpassFile = lib.mkOption { - type = lib.types.path; - description = "The age encrypted admin password file"; - }; }; config = lib.mkIf cfg.enable { @@ -31,14 +27,6 @@ in { "/var/lib/nextcloud" ]; }; - age.secrets = { - adminpassFile = { - file = cfg.adminpassFile; - mode = "0700"; - owner = "nextcloud"; - group = "nextcloud"; - }; - }; services = { nextcloud = { @@ -58,8 +46,6 @@ in { extraAppsEnable = true; configureRedis = true; config = { - adminuser = "admin"; - adminpassFile = config.age.secrets.adminpassFile.path; dbname = "nextcloud"; dbuser = "nextcloud"; dbtype = "pgsql"; -- cgit v1.3.1