summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-02-12 22:30:46 +0100
committerlassulus <lass@lassul.us>2017-02-12 22:30:46 +0100
commitbaf325a8d8542dd6fef6cc7b97fd3211c5b174f5 (patch)
tree35a3cce0366bf7fb3aabdf66aa4a89059a34b2e2
parentc4d70a28b421217c2a5ec252fea36e650f19a452 (diff)
l 2: add dnscrypt as default
-rw-r--r--lass/2configs/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix
index 2441f1b74..2292b5ce3 100644
--- a/lass/2configs/default.nix
+++ b/lass/2configs/default.nix
@@ -62,6 +62,12 @@ with import <stockholm/lib>;
pkgs.pythonPackages.python
];
}
+ {
+ services.dnscrypt-proxy.enable = true;
+ networking.extraResolvconfConf = ''
+ name_servers='127.0.0.1'
+ '';
+ }
];
networking.hostName = config.krebs.build.host.name;