2024-12-10 20:26:33 +01:00
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
|
|
options = {
|
2017-11-16 12:21:02 -06:00
|
|
|
key = lib.mkOption {
|
2024-12-10 20:26:33 +01:00
|
|
|
type = lib.types.str;
|
|
|
|
example = "/etc/ssl/keys/mykeyfile.key";
|
|
|
|
default = "/etc/ssl/keys/server.key";
|
2024-04-13 14:54:15 +02:00
|
|
|
description = ''
|
2017-11-16 12:21:02 -06:00
|
|
|
Path to the TLS key file.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
crt = lib.mkOption {
|
2024-12-10 20:26:33 +01:00
|
|
|
type = lib.types.str;
|
|
|
|
example = "/etc/ssl/certs/mycert.crt";
|
|
|
|
default = "/etc/ssl/certs/server.crt";
|
2024-04-13 14:54:15 +02:00
|
|
|
description = ''
|
2017-11-16 12:21:02 -06:00
|
|
|
Path to the TLS certificate file.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|