2023-10-21 17:55:11 +01:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ../traefik/adguardhome.nix ];
|
2023-05-26 08:52:46 +01:00
|
|
|
services.adguardhome = {
|
|
|
|
enable = true;
|
|
|
|
mutableSettings = true;
|
|
|
|
settings.bind_port = 3001;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
networking.firewall = {
|
2023-10-21 17:55:11 +01:00
|
|
|
allowedTCPPorts = [ 53 ];
|
|
|
|
allowedUDPPorts = [ 53 ];
|
2023-05-26 08:52:46 +01:00
|
|
|
};
|
|
|
|
}
|