diff options
author | h7x4 <h7x4@nani.wtf> | 2023-03-07 00:08:20 +0100 |
---|---|---|
committer | h7x4 <h7x4@nani.wtf> | 2023-03-07 23:22:32 +0100 |
commit | 8c17fe986a9eca75f5eb4b1bfc9174018427c4ba (patch) | |
tree | 4fcf1f83b24f073df92492859d1c07f5108d34ee /nixos/modules/services | |
parent | 777a9707e72e6dbbbdf9033c44f237154c64e9f7 (diff) | |
download | nixlib-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar nixlib-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.gz nixlib-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.bz2 nixlib-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.lz nixlib-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.xz nixlib-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.tar.zst nixlib-8c17fe986a9eca75f5eb4b1bfc9174018427c4ba.zip |
nixos/hedgedoc: allow `clientSecret` to be null
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/web-apps/hedgedoc.nix | 3 |
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 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. ''; |