mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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.
|
||||
'';
|
||||
};
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user