NixOS/nixpkgs — pull request #3344 by ehmry (2014-07-22 18:03:47+00:00)
Title: privoxy: upstart to systemd conversion, actions file editing

PRIVOXY CURRENTLY DOES NOTHING.

If no actions or filter files are specified, which is what is does now, privoxy performs no actions or filtering.
This can be seen by enabling privoxy and loading the following page.
http://config.privoxy.org/show-url-info?url=nixos.org

This commit copies the upstream actions and filters installed with privoxy to /var/lib/privoxy and includes them into the configuration file. This restores privoxy to functioning as expected.

I also added an option to enable the configuration editor that is accessible to proxy users. This is why the configuration now lives in /var/lib/privoxy.

Managing the filtering configuration would be nice but becomes complicated fast, if someone had a static filter file they could always write it to the nix store and include it using 'extraConfig'.