hello
i went change privoxy default config dir .
i try use actionFiles = [ ];
and filterFiles [ ];
in configuration.nix But not work .
also use extraConfig = '' '';
show many errors like this :
Privoxy encountered an error while processing your request:
Could not load template file
default
or one of its included components.Please contact your proxy administrator.
If you are the proxy administrator, please put the required file(s)in the
(confdir)/templates
directory. The location of the(confdir)
directory is specified in the main Privoxyconfig
file. (It’s typically the Privoxy install directory, or/etc/privoxy/
).
and this is my privoxy also tor config in configuration.nix :
#Tor
services.tor = {
enable = true ;
client = {
enable = true;
privoxy.enable = true;
};
tsocks.enable = true;
};
#Privoxy
services.privoxy = {
enable = true ;
enableEditActions = true;
actionsFiles = ["default.action" ];
filterFiles = ["default.filter" ];
extraConfig = ''
confdir /home/USER/.config/privoxy/
''
;
};