blocky: add custom whitelist
This commit is contained in:
parent
6d62d356fb
commit
88e9f27e79
1 changed files with 11 additions and 3 deletions
|
@ -33,7 +33,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
blocking = {
|
blocking = {
|
||||||
blockType = "nxDomain";
|
|
||||||
loading = {
|
loading = {
|
||||||
strategy = "fast";
|
strategy = "fast";
|
||||||
concurrency = 8;
|
concurrency = 8;
|
||||||
|
@ -77,11 +76,20 @@
|
||||||
"https://big.oisd.nl/domainswild"
|
"https://big.oisd.nl/domainswild"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
whiteLists = {
|
whiteLists = let
|
||||||
default = [
|
customWhitelist = pkgs.writeText "misc.txt" ''
|
||||||
|
ax.phobos.apple.com.edgesuite.net
|
||||||
|
amp-api-edge.apps.apple.com
|
||||||
|
(\.|^)dscx\.akamaiedge\.net$
|
||||||
|
(\.|^)wac\.phicdn\.net$
|
||||||
|
*.flake.sh
|
||||||
|
'';
|
||||||
|
in {
|
||||||
|
ads = [
|
||||||
"https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/whitelist.txt"
|
"https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/whitelist.txt"
|
||||||
"https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/optional-list.txt"
|
"https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/optional-list.txt"
|
||||||
];
|
];
|
||||||
|
misc = [customWhitelist];
|
||||||
};
|
};
|
||||||
clientGroupsBlock = {
|
clientGroupsBlock = {
|
||||||
default = [
|
default = [
|
||||||
|
|
Loading…
Reference in a new issue