mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
nuc: fix dns setup for adguard
This commit is contained in:
parent
358220a12e
commit
6a78a9039d
2 changed files with 5 additions and 6 deletions
|
@ -5,6 +5,9 @@
|
|||
services.adguardhome = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings.bind_port = 3000;
|
||||
settings = {
|
||||
dns.bind_hosts = [ "192.168.42.2" ];
|
||||
http.address = "0.0.0.0:3000";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -14,17 +14,12 @@
|
|||
};
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
# dnssec = "allow-downgrade";
|
||||
fallbackDns = [
|
||||
"9.9.9.9"
|
||||
"149.112.112.112"
|
||||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
];
|
||||
extraConfig = ''
|
||||
[Resolve]
|
||||
DNSStubListener=no
|
||||
'';
|
||||
};
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
|
@ -38,6 +33,7 @@
|
|||
DHCP = "yes";
|
||||
LLDP = true;
|
||||
EmitLLDP = "nearest-bridge";
|
||||
DNSSEC = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue