nixos-config/hosts/nuc/modules/adguard/default.nix

11 lines
216 B
Nix
Raw Normal View History

2023-04-27 17:27:57 +02:00
{ ... }:
{
2023-04-30 21:50:47 +02:00
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
2023-04-27 17:27:57 +02:00
services.adguardhome = {
enable = true;
openFirewall = true;
settings.bind_port = 3000;
};
}