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. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./modules/networks ./modules/networks
./modules/adguard
./modules/backup ./modules/backup
./modules/cache ./modules/cache
./modules/matrix ./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::fe"
"2620:fe::9" "2620:fe::9"
]; ];
# make room for the adguard dns extraConfig = ''
# extraConfig = '' [Resolve]
# [Resolve] DNSStubListener=no
# DNS=127.0.0.1 '';
# DNSStubListener=no
# '';
}; };
systemd.network = { systemd.network = {
enable = true; enable = true;