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

14 lines
289 B
Nix
Raw Normal View History

2024-03-11 12:40:04 +01:00
{ ... }:
{
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
services.adguardhome = {
enable = true;
openFirewall = true;
2024-04-10 00:31:05 +02:00
settings = {
dns.bind_hosts = [ "192.168.42.2" ];
http.address = "0.0.0.0:3000";
};
2024-03-11 12:40:04 +01:00
};
}