diff options
author | Victor <victor@xirion.net> | 2022-05-14 17:58:17 +0200 |
---|---|---|
committer | Victor <victor@xirion.net> | 2022-05-15 11:57:15 +0200 |
commit | e9b1375878a798850457c7c86af2795451b489b1 (patch) | |
tree | b7ce4fc32b208922eaf3dde614ec9c98bab8e929 /nixos/modules/services/web-apps/hedgedoc.nix | |
parent | 81626bf4a8b0acf829a267406b7958c2cce0407e (diff) | |
download | nixpkgs-e9b1375878a798850457c7c86af2795451b489b1.tar nixpkgs-e9b1375878a798850457c7c86af2795451b489b1.tar.gz nixpkgs-e9b1375878a798850457c7c86af2795451b489b1.tar.bz2 nixpkgs-e9b1375878a798850457c7c86af2795451b489b1.tar.lz nixpkgs-e9b1375878a798850457c7c86af2795451b489b1.tar.xz nixpkgs-e9b1375878a798850457c7c86af2795451b489b1.tar.zst nixpkgs-e9b1375878a798850457c7c86af2795451b489b1.zip |
nixos/hedgedoc: fix and add config options
* fixed minio endpoint config option name * add requireFreeURLAuthentication config option
Diffstat (limited to 'nixos/modules/services/web-apps/hedgedoc.nix')
-rw-r--r-- | nixos/modules/services/web-apps/hedgedoc.nix | 9 |
1 files changed, 8 insertions, 1 deletions
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. |