diff options
author | arcnmx <arcnmx@users.noreply.github.com> | 2019-07-27 11:53:24 -0700 |
---|---|---|
committer | arcnmx <arcnmx@users.noreply.github.com> | 2019-07-27 15:49:46 -0700 |
commit | c604b38791459bbf64aa680dba87978a01b44d01 (patch) | |
tree | 2e938579460486dd04827ae21ecb63addbd0fb19 /nixos/modules/services/misc/taskserver/default.nix | |
parent | b5590fff46b85fec36ceac6a84b29b4c4eb8c3f7 (diff) |
nixos/taskserver: crl file is optional
Diffstat (limited to 'nixos/modules/services/misc/taskserver/default.nix')
-rw-r--r-- | nixos/modules/services/misc/taskserver/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index 07dbee69db0c5..8a57277fafe76 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -411,7 +411,7 @@ in { } else { cert = "${cfg.pki.manual.server.cert}"; key = "${cfg.pki.manual.server.key}"; - crl = "${cfg.pki.manual.server.crl}"; + ${mapNullable (_: "crl") cfg.pki.manual.server.crl} = "${cfg.pki.manual.server.crl}"; }); ca.cert = if needToCreateCA then "${cfg.dataDir}/keys/ca.cert" |