nixpkgs/nixos/modules
Joachim Fasting 52f0553209 Add dnscrypt-proxy service
The dnscrypt-proxy service relays regular DNS queries to
a DNSCrypt enabled upstream resolver.
The traffic between the client and the upstream resolver is
encrypted and authenticated, which may mitigate the risk of
MITM attacks and third-party snooping (assuming a trustworthy
upstream).

Though dnscrypt-proxy can run as a standalone DNS client,
the recommended setup is to use it as a forwarder for a
caching DNS client.
To use dnscrypt-proxy as a forwarder for dnsmasq, do

```nix
{
  # ...

  networking.nameservers = [ "127.0.0.1" ];
  networking.dhcpcd.extraConfig = "nohook resolv.conf";

  services.dnscrypt-proxy.enable = true;
  services.dnscrypt-proxy.localAddress = "127.0.0.1";
  services.dnscrypt-proxy.port = 40;

  services.dnsmasq.enable = true;
  services.dnsmasq.extraConfig = ''
    no-resolv
    server=127.0.0.1#40
    listen-address=127.0.0.1
  '';

  # ...
}
```
2014-11-11 22:47:19 +01:00
..
config update-users-groups.pl: Use UTF-8 instead of latin1. 2014-11-08 19:25:17 +01:00
hardware ati_unfree: Update nixos-manual for AMD driver support 2014-09-07 12:42:32 +10:00
installer Revert "nixos: iso-image: use syslinux bootloader for USB booting support" 2014-11-08 14:33:27 +01:00
misc Add dnscrypt-proxy service 2014-11-11 22:47:19 +01:00
profiles jfsrec: Remove derivation 2014-11-02 17:22:27 -08:00
programs Add "light" package and setuid wrapper 2014-11-09 19:45:43 -07:00
security sudo: allow adding extra configuration options to the bottom of sudoers 2014-11-02 13:27:05 +01:00
services Add dnscrypt-proxy service 2014-11-11 22:47:19 +01:00
system nixos: move bcache udev rule in a new bcache.nix module 2014-11-10 22:19:43 +01:00
tasks nixos: move bcache udev rule in a new bcache.nix module 2014-11-10 22:19:43 +01:00
testing nixos: Fix priorities of initialHashedPassword. 2014-11-04 05:19:07 +01:00
virtualisation Merge pull request #4870 from bosu/docker-proxy 2014-11-08 13:06:56 +01:00
module-list.nix Add dnscrypt-proxy service 2014-11-11 22:47:19 +01:00
rename.nix Revert "Revert "syslog-ng: Update from 3.5.6 to 3.6.1"" 2014-11-06 21:59:04 +01:00