summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/hedgedoc.nix
diff options
context:
space:
mode:
authorVictor <victor@xirion.net>2022-05-14 17:58:17 +0200
committerVictor <victor@xirion.net>2022-05-15 11:57:15 +0200
commite9b1375878a798850457c7c86af2795451b489b1 (patch)
treeb7ce4fc32b208922eaf3dde614ec9c98bab8e929 /nixos/modules/services/web-apps/hedgedoc.nix
parent81626bf4a8b0acf829a267406b7958c2cce0407e (diff)
downloadnixpkgs-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.nix9
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.