nuc: re-enable adguard dns

This commit is contained in:
Rouven Seifert 2024-03-11 12:40:04 +01:00
parent 5dbab41a2e
commit cb49b95c53
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 15 additions and 6 deletions

View file

@ -5,6 +5,7 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
./modules/networks
./modules/adguard
./modules/backup
./modules/cache
./modules/matrix

View file

@ -0,0 +1,10 @@
{ ... }:
{
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
services.adguardhome = {
enable = true;
openFirewall = true;
settings.bind_port = 3000;
};
}

View file

@ -21,12 +21,10 @@
"2620:fe::fe"
"2620:fe::9"
];
# make room for the adguard dns
# extraConfig = ''
# [Resolve]
# DNS=127.0.0.1
# DNSStubListener=no
# '';
extraConfig = ''
[Resolve]
DNSStubListener=no
'';
};
systemd.network = {
enable = true;