summaryrefslogtreecommitdiffstats
path: root/lass/2configs/privoxy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/privoxy.nix')
-rw-r--r--lass/2configs/privoxy.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/lass/2configs/privoxy.nix b/lass/2configs/privoxy.nix
new file mode 100644
index 000000000..bf5f6e206
--- /dev/null
+++ b/lass/2configs/privoxy.nix
@@ -0,0 +1,15 @@
+{ config, ... }:
+
+{
+ services.privoxy = {
+ enable = true;
+ extraConfig = ''
+ #use polipo
+ forward / localhost:8123
+
+ #route .onion through tor
+ forward-socks4a .onion localhost:9050
+ '';
+ };
+ services.polipo.enable = true;
+}