nixos-dotfiles/hosts/titan/services/dnsmasq.nix
Alex Stan 85669cfbd1 caddy
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
2023-12-16 20:45:34 +02:00

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