From 8ca1c0249b48f46be58d1ea5b83f6007a54497a5 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 16 Mar 2025 00:44:14 -0400 Subject: [PATCH] Infini-DL360/privoxy: init --- hosts/Infini-DESKTOP/default.nix | 1 + hosts/Infini-DESKTOP/privoxy.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 hosts/Infini-DESKTOP/privoxy.nix 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 ]; +}