nixos/hedgedoc: fix and add config options

* fixed minio endpoint config option name
* add requireFreeURLAuthentication config option
This commit is contained in:
Victor 2022-05-14 17:58:17 +02:00
parent 81626bf4a8
commit e9b1375878

View file

@ -197,6 +197,13 @@ in
Whether to allow note creation by accessing a nonexistent note URL.
'';
};
requireFreeURLAuthentication = mkOption {
type = types.bool;
default = false;
description = ''
Whether to require authentication for FreeURL mode style note creation.
'';
};
defaultPermission = mkOption {
type = types.enum [ "freely" "editable" "limited" "locked" "private" ];
default = "editable";
@ -431,7 +438,7 @@ in
Minio secret key.
'';
};
endpoint = mkOption {
endPoint = mkOption {
type = types.str;
description = ''
Minio endpoint.