nixos/taskserver: Remove client.cert option

The option is solely for debugging purposes (particularly the unit tests
of the project itself) and doesn't make sense to include it in the NixOS
module options.

If people want to use this, we might want to introduce another option so
that we can insert arbitrary configuration lines.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-04-10 21:37:12 +02:00
parent 64e566a49c
commit 85832de2e8
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -38,7 +38,6 @@ let
${mkConfLine "request.limit" cfg.requestLimit}
# client
${mkConfLine "client.cert" cfg.client.cert}
${mkConfLine "client.allow" cfg.allowedClientIDs}
${mkConfLine "client.deny" cfg.disallowedClientIDs}
@ -226,15 +225,6 @@ in {
'';
};
client.cert = mkOption {
type = types.nullOr types.path;
default = null;
description = ''
Fully qualified path of the client cert. This is used by the
<command>client</command> command.
'';
};
server = {
host = mkOption {
type = types.str;