helm/bowl/dns.nix

12 lines
364 B
Nix
Raw Normal View History

2021-01-28 06:13:47 -08:00
{ config, pkgs, lib, ... }:
{
services.dnsmasq.enable = false;
services.dnsmasq.extraConfig = ''
address=/.mossnet.lan/192.168.1.6
dhcp-range=192.168.1.1,proxy
'';
services.dnsmasq.servers = [ "45.90.30.49" "45.90.28.49" "1.1.1.1" "8.8.8.8" ];
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
}