diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/networking/dnscrypt-wrapper.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/networking/dnscrypt-wrapper.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/dnscrypt-wrapper.nix b/nixpkgs/nixos/modules/services/networking/dnscrypt-wrapper.nix index 741f054cd88b..fb07d893b88e 100644 --- a/nixpkgs/nixos/modules/services/networking/dnscrypt-wrapper.nix +++ b/nixpkgs/nixos/modules/services/networking/dnscrypt-wrapper.nix @@ -124,12 +124,12 @@ in { ###### interface options.services.dnscrypt-wrapper = { - enable = mkEnableOption (lib.mdDoc "DNSCrypt wrapper"); + enable = mkEnableOption "DNSCrypt wrapper"; address = mkOption { type = types.str; default = "127.0.0.1"; - description = lib.mdDoc '' + description = '' The DNSCrypt wrapper will bind to this IP address. ''; }; @@ -137,7 +137,7 @@ in { port = mkOption { type = types.port; default = 5353; - description = lib.mdDoc '' + description = '' The DNSCrypt wrapper will listen for DNS queries on this port. ''; }; @@ -147,7 +147,7 @@ in { default = "2.dnscrypt-cert.${config.networking.hostName}"; defaultText = literalExpression ''"2.dnscrypt-cert.''${config.networking.hostName}"''; example = "2.dnscrypt-cert.myresolver"; - description = lib.mdDoc '' + description = '' The name that will be given to this DNSCrypt resolver. Note: the resolver name must start with `2.dnscrypt-cert.`. ''; @@ -157,7 +157,7 @@ in { type = types.nullOr types.path; default = null; example = "/etc/secrets/public.key"; - description = lib.mdDoc '' + description = '' The filepath to the provider public key. If not given a new provider key pair will be generated on the first run. ''; @@ -167,7 +167,7 @@ in { type = types.nullOr types.path; default = null; example = "/etc/secrets/secret.key"; - description = lib.mdDoc '' + description = '' The filepath to the provider secret key. If not given a new provider key pair will be generated on the first run. ''; @@ -176,7 +176,7 @@ in { upstream.address = mkOption { type = types.str; default = "127.0.0.1"; - description = lib.mdDoc '' + description = '' The IP address of the upstream DNS server DNSCrypt will "wrap". ''; }; @@ -184,7 +184,7 @@ in { upstream.port = mkOption { type = types.port; default = 53; - description = lib.mdDoc '' + description = '' The port of the upstream DNS server DNSCrypt will "wrap". ''; }; @@ -192,7 +192,7 @@ in { keys.expiration = mkOption { type = types.int; default = 30; - description = lib.mdDoc '' + description = '' The duration (in days) of the time-limited secret key. This will be automatically rotated before expiration. ''; @@ -201,7 +201,7 @@ in { keys.checkInterval = mkOption { type = types.int; default = 1440; - description = lib.mdDoc '' + description = '' The time interval (in minutes) between key expiration checks. ''; }; |