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