diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-28 14:15:17 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-28 14:15:17 +0100 |
| commit | a6c88820038515ad4438593c14703f9d94ed00c4 (patch) | |
| tree | 4a45836af7e40a0ec37fcdc77bcb0f34f3f87d37 /modules | |
| parent | hosts/server2: Disable sharkey (diff) | |
| download | nixos-server-a6c88820038515ad4438593c14703f9d94ed00c4.zip | |
{hosts/server2,modules/nextcloud}: Remove adminPassFile
This is no longer a supported option and admin provisioning should be
done via the nextcloud cli now.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/vhack/ne/nextcloud/module.nix | 14 |
1 files changed, 0 insertions, 14 deletions
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"; |
