From 8c17fe986a9eca75f5eb4b1bfc9174018427c4ba Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 7 Mar 2023 00:08:20 +0100 Subject: [PATCH] nixos/hedgedoc: allow `clientSecret` to be null --- nixos/modules/services/web-apps/hedgedoc.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/hedgedoc.nix b/nixos/modules/services/web-apps/hedgedoc.nix index a7823354ce88..e2014a9b7e35 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. '';