summary refs log tree commit diff
path: root/nixos/modules/services/networking/nghttpx/tls-submodule.nix
blob: 8f3cdaae2c8182d7183dd5389ad3509fc00aebff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{lib, ...}:
{ options = {
    key = lib.mkOption {
      type        = lib.types.str;
      example     = "/etc/ssl/keys/mykeyfile.key";
      default     = "/etc/ssl/keys/server.key";
      description = ''
        Path to the TLS key file.
      '';
    };

    crt = lib.mkOption {
      type        = lib.types.str;
      example     = "/etc/ssl/certs/mycert.crt";
      default     = "/etc/ssl/certs/server.crt";
      description = ''
        Path to the TLS certificate file.
      '';
    };
  };
}