tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dnscrypt-proxy module: formatting
Joachim Fasting
9 years ago
23a7e6e9
86d1953e
+13
-4
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
dnscrypt-proxy.nix
+13
-4
nixos/modules/services/networking/dnscrypt-proxy.nix
···
62
62
of other machines (typically on the local network).
63
63
'';
64
64
};
65
65
+
65
66
localPort = mkOption {
66
67
default = 53;
67
68
type = types.int;
···
72
73
to a different value; otherwise leave the default.
73
74
'';
74
75
};
76
76
+
75
77
resolverName = mkOption {
76
78
default = "dnscrypt.eu-nl";
77
79
type = types.nullOr types.str;
···
82
84
extensions, and claims to not keep logs.
83
85
'';
84
86
};
87
87
+
85
88
resolverList = mkOption {
86
89
description = ''
87
90
The list of upstream DNSCrypt resolvers. By default, we use the most
···
94
97
};
95
98
defaultText = "pkgs.fetchurl { url = ...; sha256 = ...; }";
96
99
};
100
100
+
97
101
customResolver = mkOption {
98
102
default = null;
99
103
description = ''
···
103
107
type = types.nullOr (types.submodule ({ ... }: { options = {
104
108
address = mkOption {
105
109
type = types.str;
106
106
-
description = "Resolver IP address";
110
110
+
description = "IP address";
107
111
example = "208.67.220.220";
108
112
};
113
113
+
109
114
port = mkOption {
110
115
type = types.int;
111
111
-
description = "Resolver port";
116
116
+
description = "Port";
112
117
default = 443;
113
118
};
119
119
+
114
120
name = mkOption {
115
121
type = types.str;
116
116
-
description = "Provider fully qualified domain name";
122
122
+
description = "Fully qualified domain name";
117
123
example = "2.dnscrypt-cert.opendns.com";
118
124
};
125
125
+
119
126
key = mkOption {
120
127
type = types.str;
121
121
-
description = "Provider public key";
128
128
+
description = "Public key";
122
129
example = "B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79";
123
130
};
124
131
}; }));
125
132
};
133
133
+
126
134
tcpOnly = mkOption {
127
135
default = false;
128
136
type = types.bool;
···
131
139
TCP instead of UDP (on port 443). Use only if the UDP port is blocked.
132
140
'';
133
141
};
142
142
+
134
143
ephemeralKeys = mkOption {
135
144
default = false;
136
145
type = types.bool;