From dbaa055f6bdecf2a57c7cb5797a0a7ff326311ca Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 20 Feb 2024 22:22:16 +0900 Subject: feat(modules/blocky): configure whitelist --- modules/services/blocky/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/services/blocky/default.nix b/modules/services/blocky/default.nix index 4a36825..d308bf3 100644 --- a/modules/services/blocky/default.nix +++ b/modules/services/blocky/default.nix @@ -65,6 +65,18 @@ in ]; }; + whiteLists = rec { + # Blocky will block all domains except ones in the whitelist + # IF there is no matching entry in blacklists + falsePositives = [ + "https://gist.githubusercontent.com/sefidel/7c7a8dbbc912bcd665d9005e2ba120e1/raw" + ]; + + ads = falsePositives; + phishing = falsePositives; + tracking = falsePositives; + }; + clientGroupsBlock = { default = [ "ads" "phishing" "tracking" ]; }; -- cgit 1.4.1