From e9b1375878a798850457c7c86af2795451b489b1 Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 14 May 2022 17:58:17 +0200 Subject: [PATCH] nixos/hedgedoc: fix and add config options * fixed minio endpoint config option name * add requireFreeURLAuthentication config option --- nixos/modules/services/web-apps/hedgedoc.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/hedgedoc.nix b/nixos/modules/services/web-apps/hedgedoc.nix index 6a46ffbd17d..13893cbf005 100644 --- a/nixos/modules/services/web-apps/hedgedoc.nix +++ b/nixos/modules/services/web-apps/hedgedoc.nix @@ -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.