1{ lib, ... }:
2{
3 options = {
4 key = lib.mkOption {
5 type = lib.types.str;
6 example = "/etc/ssl/keys/mykeyfile.key";
7 default = "/etc/ssl/keys/server.key";
8 description = ''
9 Path to the TLS key file.
10 '';
11 };
12
13 crt = lib.mkOption {
14 type = lib.types.str;
15 example = "/etc/ssl/certs/mycert.crt";
16 default = "/etc/ssl/certs/server.crt";
17 description = ''
18 Path to the TLS certificate file.
19 '';
20 };
21 };
22}