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

18 lines
295 B
Nix

{
config,
pkgs,
...
}: {
services.dnsmasq = {
enable = true;
# resolveLocalQueries = true;
settings = {
conf-dir = "/var/lib/dnsmasq/conf.d";
# listen-address = "127.0.0.1";
server = ["1.1.1.1" "1.0.0.1"];
};
};
services.resolved.enable = false;
}