Infini-DL360/privoxy: init
This commit is contained in:
parent
a8d302f0d3
commit
8ca1c0249b
2 changed files with 11 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
imports = lib.lists.flatten [
|
imports = lib.lists.flatten [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./filesystems.nix
|
./filesystems.nix
|
||||||
|
./privoxy.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "21.11";
|
system.stateVersion = "21.11";
|
||||||
|
|
10
hosts/Infini-DESKTOP/privoxy.nix
Normal file
10
hosts/Infini-DESKTOP/privoxy.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
services.privoxy = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
listen-address = "100.101.102.1:8118";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 8118 ];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue