diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-10-24 02:31:10 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-10-29 03:04:00 +0200 |
commit | 420cf50838e2b2808d6d9970d7cc281e8ff2c02f (patch) | |
tree | d15c9529ce7801a761fcfc8a2dc84f6133ef72d6 /nixos/modules/services | |
parent | d198e474a82e57c4ad2cb21e52a2f1ef65af2304 (diff) | |
download | nixlib-420cf50838e2b2808d6d9970d7cc281e8ff2c02f.tar nixlib-420cf50838e2b2808d6d9970d7cc281e8ff2c02f.tar.gz nixlib-420cf50838e2b2808d6d9970d7cc281e8ff2c02f.tar.bz2 nixlib-420cf50838e2b2808d6d9970d7cc281e8ff2c02f.tar.lz nixlib-420cf50838e2b2808d6d9970d7cc281e8ff2c02f.tar.xz nixlib-420cf50838e2b2808d6d9970d7cc281e8ff2c02f.tar.zst nixlib-420cf50838e2b2808d6d9970d7cc281e8ff2c02f.zip |
dnscrypt-proxy module: minor config example tweaks
- Indentation - unbound automatically handles local forward addresses
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/networking/dnscrypt-proxy.xml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.xml b/nixos/modules/services/networking/dnscrypt-proxy.xml index e212a8d3e2c3..982961833ad2 100644 --- a/nixos/modules/services/networking/dnscrypt-proxy.xml +++ b/nixos/modules/services/networking/dnscrypt-proxy.xml @@ -49,8 +49,8 @@ <para> <programlisting> { - services.dnsmasq.enable = true; - services.dnsmasq.servers = [ "127.0.0.1#43" ]; + services.dnsmasq.enable = true; + services.dnsmasq.servers = [ "127.0.0.1#43" ]; } </programlisting> </para> @@ -60,12 +60,9 @@ <para> <programlisting> { - networking.nameservers = [ "127.0.0.1" ]; - services.unbound.enable = true; - services.unbound.forwardAddresses = [ "127.0.0.1@43" ]; - services.unbound.extraConfig = '' - do-not-query-localhost: no - ''; + networking.nameservers = [ "127.0.0.1" ]; + services.unbound.enable = true; + services.unbound.forwardAddresses = [ "127.0.0.1@43" ]; } </programlisting> </para> |