summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-03-10 18:45:11 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2017-03-15 01:12:39 +0100
commit540740598e6765e75a5f589928bb9b886f427341 (patch)
tree19d0e0be2259f900b97bd127b8f3a677ec89f392 /nixos/modules/services/networking
parent719813caf6309441fcf502d4c88aabddc7d5ca70 (diff)
downloadnixlib-540740598e6765e75a5f589928bb9b886f427341.tar
nixlib-540740598e6765e75a5f589928bb9b886f427341.tar.gz
nixlib-540740598e6765e75a5f589928bb9b886f427341.tar.bz2
nixlib-540740598e6765e75a5f589928bb9b886f427341.tar.lz
nixlib-540740598e6765e75a5f589928bb9b886f427341.tar.xz
nixlib-540740598e6765e75a5f589928bb9b886f427341.tar.zst
nixlib-540740598e6765e75a5f589928bb9b886f427341.zip
nixos/dnscrypt-proxy: add example of how to use the cache plugin
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/dnscrypt-proxy.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.nix b/nixos/modules/services/networking/dnscrypt-proxy.nix
index 251097c160c7..d0fc0a79c60a 100644
--- a/nixos/modules/services/networking/dnscrypt-proxy.nix
+++ b/nixos/modules/services/networking/dnscrypt-proxy.nix
@@ -145,6 +145,7 @@ in
           See <citerefentry><refentrytitle>dnscrypt-proxy</refentrytitle>
           <manvolnum>8</manvolnum></citerefentry> for details.
         '';
+        example = [ "-X libdcplugin_example_cache.so,--min-ttl=60" ];
       };
     };
   };