DnsMasq Address Setting

Dear community, I am a little confused as to the correct way to setup dnsmasq settings. From what I gather there is a difference between NixDarwin and regular nix settings, nix-darwin user can use “services.dnsmasq.addresses” as an attribute. However in the regular nixos is lacking this option and “services.dnsmasq.settings.addresses” seems to not work either. Do I have to use a weird non nixified file to set those values?

Hope this message is not too confusing! I also hope you had a lovely weekend and are ready for a good week! :slight_smile:

I have found my issue, for those stumbling across my post:

settings is a simple wrapper you can use
services.dnsmasq.settings.address as an array with the proper dnsmasq value

dnsmasq.settings.address = [ "/example/127.0.0.1" ];
1 Like