From caae3c86513822df1c55c65c0e5d0f470b3e1c0a Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 12 Feb 2017 19:47:36 +0100 Subject: [PATCH] m 1 x: test dnscrypt --- 1systems/x.nix | 6 +++--- 2configs/dnscrypt.nix | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 2configs/dnscrypt.nix diff --git a/1systems/x.nix b/1systems/x.nix index adbf372..08da920 100644 --- a/1systems/x.nix +++ b/1systems/x.nix @@ -10,9 +10,10 @@ ../2configs/main-laptop.nix ../2configs/laptop-utils.nix ../2configs/laptop-backup.nix + ../2configs/dnscrypt.nix # testing - ../2configs/openvpn/vpngate.nix + # ../2configs/openvpn/vpngate.nix #../2configs/temp/share-samba.nix # ../2configs/mediawiki.nix # ../2configs/wordpress.nix @@ -26,7 +27,6 @@ #../2configs/elchos/stats.nix #../2configs/elchos/test/ftpservers.nix - ../2configs/laptop-backup.nix # ../2configs/tinc/siem.nix #../2configs/torrent.nix # temporary modules @@ -59,7 +59,7 @@ # hardware specifics are in here ../2configs/hw/tp-x230.nix ../2configs/hw/rtl8812au.nix - ../2configs/hw/bcm4352.nix + # mount points ../2configs/fs/sda-crypto-root-home.nix diff --git a/2configs/dnscrypt.nix b/2configs/dnscrypt.nix new file mode 100644 index 0000000..d810456 --- /dev/null +++ b/2configs/dnscrypt.nix @@ -0,0 +1,6 @@ +{ + services.dnscrypt-proxy.enable = true; + networking.extraResolvconfConf = '' + name_servers='127.0.0.1' + ''; +}