summaryrefslogtreecommitdiffstats
path: root/lass/2configs/privoxy.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-03 19:40:00 +0200
committerlassulus <lass@aidsballs.de>2015-10-04 13:36:52 +0200
commit02eb997d3e068753920b3e78d6f48889f77bda54 (patch)
tree999931349b033b892b2de37c3c94ad1dfce4d07c /lass/2configs/privoxy.nix
parenteff469ebef1d0be6c1096f3871001b583bb71ed1 (diff)
lass 2 configs: add privoxy configs
lass 2: retiolum_privoxy -> privoxy-retiolum
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;
+}