Files
nix-config/system/services/dnsmasq/default.nix

16 lines
240 B
Nix

{
config,
pkgs,
...
}: {
services.dnsmasq = {
enable = true;
resolveLocalQueries = true;
settings = {
conf-dir = "/var/lib/dnsmasq/conf.d";
listen-address = "127.0.0.1";
# port = "53535";
};
};
}