diff --git a/profiles/services/privoxy.nix b/profiles/services/privoxy.nix index 108cbf3..4c05c28 100644 --- a/profiles/services/privoxy.nix +++ b/profiles/services/privoxy.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ pkgs, config, ... }: { services = { privoxy = { enable = true; @@ -17,4 +17,9 @@ forwards.dynamic = [ 1337 ]; }; }; + + environment.variables = { + HTTP_PROXY = config.services.privoxy.settings.listen-address; + HTTPS_PROXY = config.services.privoxy.settings.listen-address; + }; }