diff --git a/hosts/Infini-DESKTOP/default.nix b/hosts/Infini-DESKTOP/default.nix index bbb12c8..e3eed66 100644 --- a/hosts/Infini-DESKTOP/default.nix +++ b/hosts/Infini-DESKTOP/default.nix @@ -8,6 +8,7 @@ imports = lib.lists.flatten [ ./hardware-configuration.nix ./filesystems.nix + ./privoxy.nix ]; system.stateVersion = "21.11"; diff --git a/hosts/Infini-DESKTOP/privoxy.nix b/hosts/Infini-DESKTOP/privoxy.nix new file mode 100644 index 0000000..68f201a --- /dev/null +++ b/hosts/Infini-DESKTOP/privoxy.nix @@ -0,0 +1,10 @@ +{ + services.privoxy = { + enable = true; + settings = { + listen-address = "100.101.102.1:8118"; + }; + }; + + networking.firewall.allowedTCPPorts = [ 8118 ]; +}