blob: b00a02c3a0f1616a0f907f52b259d7e3773372ea [file] [log] [blame]
{ config, ... }: {
config = {
services = {
nscd.enableNsncd = true;
dnsmasq = {
enable = true;
servers = [ "1.1.1.1" "1.0.0.1" ];
extraConfig = ''
conf-file=${config.sops.secrets."dnsmasq-private.conf".path}
'';
};
};
sops.secrets."dnsmasq-private.conf" = {
format = "binary";
sopsFile = ../secrets/dnsmasq-private.conf;
};
};
}