summary refs log tree commit diff
path: root/nixos/modules/services/networking/privoxy.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-03-05 16:16:55 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2021-03-09 11:02:59 +0100
commit8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe (patch)
treec062b4b21d0f40c5ffe47ed663e804ef488d2125 /nixos/modules/services/networking/privoxy.nix
parent3673ded392641ae247638376fd3b9635fc41abc9 (diff)
downloadnixpkgs-8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe.tar
nixpkgs-8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe.tar.gz
nixpkgs-8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe.tar.bz2
nixpkgs-8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe.tar.lz
nixpkgs-8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe.tar.xz
nixpkgs-8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe.tar.zst
nixpkgs-8e21a1c51bbcdddd001c60cf9ea3975b2e317bbe.zip
nixos/privoxy: set temporary directory
This is needed for working external filters, otherwise privoxy will fail
without a clear error message.
Diffstat (limited to 'nixos/modules/services/networking/privoxy.nix')
-rw-r--r--nixos/modules/services/networking/privoxy.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/privoxy.nix b/nixos/modules/services/networking/privoxy.nix
index 8ab9a6171fc..b8d33916342 100644
--- a/nixos/modules/services/networking/privoxy.nix
+++ b/nixos/modules/services/networking/privoxy.nix
@@ -221,6 +221,8 @@ in
 
     services.privoxy.settings = {
       user-manual = "${pkgs.privoxy}/share/doc/privoxy/user-manual";
+      # This is needed for external filters
+      temporary-directory = "/tmp";
       filterfile = [ "default.filter" ];
       actionsfile =
         [ "match-all.action"