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.
This commit is contained in:
parent
c2596b396c
commit
648546b09d
1 changed files with 5 additions and 1 deletions
|
@ -405,7 +405,11 @@ in {
|
||||||
adminuser = mkOption {
|
adminuser = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "root";
|
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 {
|
adminpassFile = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
Loading…
Reference in a new issue