Skip to content

Commit

Permalink
rpi4: update adguard settings to the current schema
Browse files Browse the repository at this point in the history
  • Loading branch information
adomixaszvers committed Jun 1, 2024
1 parent e57311b commit ac9fd5d
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions nixos/pi/adguard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,27 @@
services.adguardhome = {
enable = true;
mutableSettings = true;
port = 6080;
host = "192.168.1.207";
settings = {
http.address = "192.168.1.207:6080";
dns = {
bind_hosts = [ "10.6.0.1" "192.168.1.207" ];
blocked_response_ttl = 7200;
ratelimit = 0;
upstream_dns = [ "9.9.9.9" "149.112.112.112" "[/lan/]192.168.1.254" ];
aaaa_disabled = true;
local_ptr_upstreams = [ "192.168.1.254" ];
rewrites = [
{
domain = "*.wg.beastade.top";
answer = "10.6.0.1";
}
{
domain = "*.lan.beastade.top";
answer = "192.168.1.207";
}
];
};
filterring.rewrites = [
{
domain = "*.wg.beastade.top";
answer = "10.6.0.1";
}
{
domain = "*.lan.beastade.top";
answer = "192.168.1.207";
}
];
filters = [
{
enabled = true;
Expand Down

0 comments on commit ac9fd5d

Please sign in to comment.