fix
This commit is contained in:
parent
1d41e38765
commit
ca385f3daa
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue