diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2023-08-07 12:16:41 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2023-08-07 12:16:41 +0200 |
commit | 648546b09dffcaed6a1a6018e783380e169ab9c3 (patch) | |
tree | b70b4e35ce8f4af86ccabd6222fe6fb1702aec26 /nixos | |
parent | c2596b396ca0a0d9f82fa6e64839b37473008a58 (diff) |
nixos/nextcloud: improve documentation of `adminuser`-option
This option only has an effect on the initial setup of Nextcloud and changes later won't have any effect. Same issue as with `adminpassFile` - it's only passed to the installer command - but even worse because the username is frequently used as unique ID in the database, so there's no trivial way to change it, even imperatively.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/nextcloud.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 503db124635cc..e0a7e7d4859c8 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -405,7 +405,11 @@ in { adminuser = mkOption { type = types.str; default = "root"; - description = lib.mdDoc "Username for the admin account."; + description = lib.mdDoc '' + Username for the admin account. The username is only set during the + initial setup of Nextcloud! Since the username also acts as unique + ID internally, it cannot be changed later! + ''; }; adminpassFile = mkOption { type = types.str; |