forked from mirrors_public/oddlama_nix-config
feat: add filters and rewrites to adguardhome
This commit is contained in:
parent
a44f73d3b0
commit
8876f3076e
5 changed files with 74 additions and 48 deletions
|
@ -77,6 +77,31 @@ in {
|
|||
"2001:4860:4860::8844"
|
||||
];
|
||||
dhcp.enabled = false;
|
||||
# Undo the /etc/hosts entry so we don't answer with the internal
|
||||
# wireguard address for influxdb
|
||||
rewrites = [
|
||||
{
|
||||
domain = sentinelCfg.networking.providedDomains.influxdb;
|
||||
answer = sentinelCfg.repo.secrets.local.personalDomain;
|
||||
}
|
||||
];
|
||||
filters = [
|
||||
{
|
||||
name = "AdGuard DNS filter";
|
||||
url = "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt";
|
||||
enabled = true;
|
||||
}
|
||||
{
|
||||
name = "AdaAway Default Blocklist";
|
||||
url = "https://adaway.org/hosts.txt";
|
||||
enabled = true;
|
||||
}
|
||||
{
|
||||
name = "OISD (Big)";
|
||||
url = "https://big.oisd.nl";
|
||||
enabled = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue