nixos-dotfiles/hosts/hypnos/services/dnsmasq.nix
Alex Stan 8b01e35da7 e
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
2024-02-29 01:53:07 +02:00

19 lines
355 B
Nix

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
''}
'';
};
};
}