all repos — nixfiles @ 0f166555b9b03768856b2ff2ffaba54be1531166

System and user configuration, managed by nix and home-manager

dev: configure dnsmasq to serve local zones

Alan Pearce
commit

0f166555b9b03768856b2ff2ffaba54be1531166

parent

f9d791aa3e9e23bad1a1b421e4383fb29758baa4

1 file changed, 8 insertions(+), 0 deletions(-)

jump to
M system/settings/dev.nixsystem/settings/dev.nix
@@ -131,5 +131,13 @@ '';
}; }; }; + + services.dnsmasq = mkIf pkgs.stdenv.isDarwin { + enable = true; + addresses = { + localhost = "127.0.0.1"; + test = "127.0.0.1"; + }; + }; }; }