dotfiles/nixos/boxes/bolty/adblocking.nix

19 lines
274 B
Nix
Raw Normal View History

2024-12-01 15:59:42 +00:00
{
config,
pkgs,
inputs,
system,
...
}: {
services.resolved = {
# Disable local DNS stub listener on 127.0.0.53
extraConfig = ''
DNSStubListener=no
'';
};
services.technitium-dns-server = {
enable = true;
openFirewall = true;
};
}