diff --git a/configuration.nix b/configuration.nix index 08cb62a..d89a497 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,8 +22,6 @@ windowManager.fluxbox.enable = true; }; - networking.firewall.allowedUDPPorts = [ 67 ]; - environment.systemPackages = with pkgs; [ git btop tmux ]; diff --git a/platforms/melodypond.nix b/platforms/melodypond.nix index 6dd102a..99f433f 100644 --- a/platforms/melodypond.nix +++ b/platforms/melodypond.nix @@ -45,9 +45,19 @@ services.dnsmasq = { enable = true; + resolveLocalQueries = false; settings = { + bind-interfaces = true; + expand-hosts = true; + no-hosts = true; + local = "/lan/"; + domain = "lan"; interface = [ "wlan0" ]; dhcp-range = [ "192.168.24.100,192.168.24.200" ]; + dhcp-option= "6,0.0.0.0"; + host-record = "melodypond,melodypond.lan,192.168.24.1"; }; }; + + networking.firewall.allowedUDPPorts = [ 53 67 ]; }