helm/bowl/dns.nix
Anish Lakhwara c70fa682f2 bowl
2021-02-13 15:14:53 +10:00

12 lines
364 B
Nix

{ 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 ];
}