nixos-dotfiles/hosts/hypnos/services/dnsmasq.nix

20 lines
355 B
Nix
Raw Normal View History

inputs: { config, pkgs, ... }: {
services.dnsmasq = {
enable = true;
settings = {
server = [
"9.9.9.9"
"8.8.8.8"
];
listen-address = [
"192.168.100.35"
];
resolv-file = ''
${pkgs.writeText "$out/resolv.conf" ''
5.12.179.165 gra.phite.ro
''}
'';
};
};
}