profiles/privoxy: add proxy environment variables
This commit is contained in:
parent
3f199f8f4d
commit
402c01e48d
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
services = {
|
services = {
|
||||||
privoxy = {
|
privoxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -17,4 +17,9 @@
|
||||||
forwards.dynamic = [ 1337 ];
|
forwards.dynamic = [ 1337 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
HTTP_PROXY = config.services.privoxy.settings.listen-address;
|
||||||
|
HTTPS_PROXY = config.services.privoxy.settings.listen-address;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue