This commit is contained in:
Lukas Wurzinger 2025-01-05 01:35:19 +01:00
parent 1d41e38765
commit ca385f3daa
No known key found for this signature in database

View file

@ -4,14 +4,14 @@ in {
services.blocky = { services.blocky = {
enable = true; enable = true;
settings = { settings = {
port = 53; ports.dns = 53;
upstream.default = [upstream]; upstreams.groups.default = [upstream];
bootstrapDns = { bootstrapDns = {
inherit upstream; inherit upstream;
ips = ["1.1.1.1" "1.0.0.1"]; ips = ["1.1.1.1" "1.0.0.1"];
}; };
blocking = { blocking = {
blackLists.ads = ["https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"]; denylists.ads = ["https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"];
clientGroupsBlock.default = ["ads"]; clientGroupsBlock.default = ["ads"];
}; };
caching = { caching = {