mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
dnscrypt-proxy service: use mkEnableOption
This commit is contained in:
parent
2e8bc2bd5c
commit
8131065b63
1 changed files with 7 additions and 11 deletions
|
@ -17,17 +17,13 @@ in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
services.dnscrypt-proxy = {
|
services.dnscrypt-proxy = {
|
||||||
enable = mkOption {
|
enable = mkEnableOption ''
|
||||||
default = false;
|
Enable dnscrypt-proxy. The proxy relays regular DNS queries to a
|
||||||
type = types.bool;
|
DNSCrypt enabled upstream resolver. The traffic between the
|
||||||
description = ''
|
client and the upstream resolver is encrypted and authenticated,
|
||||||
Enable dnscrypt-proxy. The proxy relays regular DNS queries to a
|
which may mitigate the risk of MITM attacks and third-party
|
||||||
DNSCrypt enabled upstream resolver. The traffic between the
|
snooping (assuming the upstream is trustworthy).
|
||||||
client and the upstream resolver is encrypted and authenticated,
|
'';
|
||||||
which may mitigate the risk of MITM attacks and third-party
|
|
||||||
snooping (assuming the upstream is trustworthy).
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
localAddress = mkOption {
|
localAddress = mkOption {
|
||||||
default = "127.0.0.1";
|
default = "127.0.0.1";
|
||||||
type = types.string;
|
type = types.string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue