about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-20 22:22:03 +0900
committersefidel <contact@sefidel.net>2024-02-20 22:22:03 +0900
commit7250ad345d364f1fe0b70c54cc5bc36295054fd8 (patch)
treeef469eda170c9ed13910f1569e71f54d7c2e551c
parent0d7734a9ee483f54e0c4fb95648a06dc98aca10e (diff)
downloadnixrc-7250ad345d364f1fe0b70c54cc5bc36295054fd8.tar.gz
nixrc-7250ad345d364f1fe0b70c54cc5bc36295054fd8.zip
feat(modules/blocky): split blacklists by category
-rw-r--r--modules/services/blocky/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/services/blocky/default.nix b/modules/services/blocky/default.nix
index 5fafb5e..4a36825 100644
--- a/modules/services/blocky/default.nix
+++ b/modules/services/blocky/default.nix
@@ -56,13 +56,17 @@ in
           blackLists = {
             ads = [
               "https://raw.githubusercontent.com/blocklistproject/Lists/master/ads.txt"
+            ];
+            phishing = [
               "https://raw.githubusercontent.com/blocklistproject/Lists/master/phishing.txt"
+            ];
+            tracking = [
               "https://raw.githubusercontent.com/blocklistproject/Lists/master/tracking.txt"
             ];
           };
 
           clientGroupsBlock = {
-            default = [ "ads" ];
+            default = [ "ads" "phishing" "tracking" ];
           };
         };
       };