Fix setting adguardhome port

This commit is contained in:
Evie Litherland-Smith 2024-11-28 07:18:41 +00:00
parent 97fea3d88a
commit a36f263fce

View file

@ -2,9 +2,10 @@
{ {
services.adguardhome = { services.adguardhome = {
enable = true; enable = true;
port = 3200;
mutableSettings = false; mutableSettings = false;
openFirewall = true;
settings = rec { settings = rec {
http.address = "0.0.0.0:3200";
dns = { dns = {
bind_hosts = [ bind_hosts = [
"127.0.0.1" "127.0.0.1"
@ -39,7 +40,6 @@
inherit (querylog) ignored; inherit (querylog) ignored;
}; };
}; };
openFirewall = true;
}; };
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ 53 ]; allowedTCPPorts = [ 53 ];