nixos/hedgedoc: fix and add config options
* fixed minio endpoint config option name * add requireFreeURLAuthentication config option
This commit is contained in:
parent
81626bf4a8
commit
e9b1375878
|
@ -197,6 +197,13 @@ in
|
||||||
Whether to allow note creation by accessing a nonexistent note URL.
|
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 {
|
defaultPermission = mkOption {
|
||||||
type = types.enum [ "freely" "editable" "limited" "locked" "private" ];
|
type = types.enum [ "freely" "editable" "limited" "locked" "private" ];
|
||||||
default = "editable";
|
default = "editable";
|
||||||
|
@ -431,7 +438,7 @@ in
|
||||||
Minio secret key.
|
Minio secret key.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
endpoint = mkOption {
|
endPoint = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Minio endpoint.
|
Minio endpoint.
|
||||||
|
|
Loading…
Reference in a new issue