about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/services/networking/nghttpx/server-options.nix
blob: 48e2a304559696faa345588abbd128eb685f16a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, ... }:
{ options = {
    host = lib.mkOption {
      type        = lib.types.str;
      example     = "127.0.0.1";
      description = lib.mdDoc ''
        Server host address.
      '';
    };
    port = lib.mkOption {
      type        = lib.types.int;
      example     = 5088;
      description = lib.mdDoc ''
        Server host port.
      '';
    };
  };
}