about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2023-06-05 21:54:02 +0200
committerGitHub <noreply@github.com>2023-06-05 21:54:02 +0200
commitcc47c2189f30d6feb4d2180cf451ad1acde2fb79 (patch)
tree0e420a4c00e330d791078ec0123236700383c737 /nixos/modules/services
parent7a7dba5a1ca1123d4b4fada3c7ca1daab2e51381 (diff)
parent8c17fe986a9eca75f5eb4b1bfc9174018427c4ba (diff)
downloadnixlib-cc47c2189f30d6feb4d2180cf451ad1acde2fb79.tar
nixlib-cc47c2189f30d6feb4d2180cf451ad1acde2fb79.tar.gz
nixlib-cc47c2189f30d6feb4d2180cf451ad1acde2fb79.tar.bz2
nixlib-cc47c2189f30d6feb4d2180cf451ad1acde2fb79.tar.lz
nixlib-cc47c2189f30d6feb4d2180cf451ad1acde2fb79.tar.xz
nixlib-cc47c2189f30d6feb4d2180cf451ad1acde2fb79.tar.zst
nixlib-cc47c2189f30d6feb4d2180cf451ad1acde2fb79.zip
Merge pull request #220068 from h7x4/hedgedoc-allow-nullable-client-secret
nixos/hedgedoc: allow `clientSecret` to be null
Diffstat (limited to 'nixos/modules/services')
-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 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.
               '';