From c5f23a32c4b7d152ff2c3100de1c193628723a0d Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 13 Nov 2024 20:30:09 +0300 Subject: [PATCH] Foxy Proxy: Add policy template. --- home/program/firefox/default.nix | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/home/program/firefox/default.nix b/home/program/firefox/default.nix index c8936e3..8d73317 100644 --- a/home/program/firefox/default.nix +++ b/home/program/firefox/default.nix @@ -329,6 +329,57 @@ in { "{446900e4-71c2-419f-a6a7-df9c091e268b}".environment = { base = "https://pass.voronind.com"; }; + # ISSUE: Fork or https://github.com/foxyproxy/browser-extension/issues/132 + # "foxyproxy@eric.h.jung" = { + # mode = "enable"; + # sync = false; + # data = [ + # { + # active = true; + # title = "Local"; + # type = "socks5"; + # hostname = "localhost"; + # port = 1080; + # color = "#ffffff"; + # proxyDNS = true; + # include = [ ]; + # exclude = [ ]; + # } + # { + # active = true; + # title = "Zapret"; + # type = "socks5"; + # hostname = "10.0.0.1"; + # port = 1080; + # color = "#ff0000"; + # proxyDNS = false; + # include = [ ]; + # exclude = [ ]; + # } + # { + # active = true; + # title = "Xray"; + # type = "socks5"; + # hostname = "10.0.0.1"; + # port = 1081; + # color = "#ffff00"; + # proxyDNS = false; + # include = [ ]; + # exclude = [ ]; + # } + # { + # active = true; + # title = "Tor"; + # type = "socks5"; + # hostname = "10.0.0.1"; + # port = 9150; + # color = "#0000ff"; + # proxyDNS = true; + # include = [ "*.onion" ]; + # exclude = [ ]; + # } + # ]; + # }; }; # NOTE: `firefox-esr` edition is required to change search engines. SearchEngines = {