mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 11:20:19 +01:00
thinkpad-nixos: Add privoxy for ssh tunnel as needed
This commit is contained in:
parent
c45da92cde
commit
f2ec3e9890
1 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,10 @@
|
|||
};
|
||||
systemd.services.roaming_proxy.enable = true;
|
||||
|
||||
services.privoxy.settings = {
|
||||
forward-socks5 = "/ localhost:9080 .";
|
||||
};
|
||||
|
||||
security.sudo.extraConfig = ''Defaults env_keep += "*_proxy *_PROXY"'';
|
||||
networking.proxy = {
|
||||
httpProxy = "http://localhost:8100";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue