summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/hedgedoc.nix
diff options
context:
space:
mode:
authorh7x4 <h7x4@nani.wtf>2023-03-07 00:08:20 +0100
committerh7x4 <h7x4@nani.wtf>2023-03-07 23:22:32 +0100
commit8c17fe986a9eca75f5eb4b1bfc9174018427c4ba (patch)
tree4fcf1f83b24f073df92492859d1c07f5108d34ee /nixos/modules/services/web-apps/hedgedoc.nix
parent777a9707e72e6dbbbdf9033c44f237154c64e9f7 (diff)
downloadnixpkgs-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar
nixpkgs-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.gz
nixpkgs-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.bz2
nixpkgs-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.lz
nixpkgs-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.xz
nixpkgs-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.zst
nixpkgs-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.zip
nixos/hedgedoc: allow `clientSecret` to be null
Diffstat (limited to 'nixos/modules/services/web-apps/hedgedoc.nix')
-rw-r--r--nixos/modules/services/web-apps/hedgedoc.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/hedgedoc.nix b/nixos/modules/services/web-apps/hedgedoc.nix
index a7823354ce8..e2014a9b7e3 100644
--- a/nixos/modules/services/web-apps/hedgedoc.nix
+++ b/nixos/modules/services/web-apps/hedgedoc.nix
@@ -624,7 +624,8 @@ in
               '';
             };
             clientSecret = mkOption {
-              type = types.str;
+              type = with types; nullOr str;
+              default = null;
               description = lib.mdDoc ''
                 Specify the OAuth client secret.
               '';