12 lines
363 B
Nix
12 lines
363 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
services.dnsmasq.enable = true;
|
|
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 ];
|
|
}
|