dotfiles/nixos/boxes/bolty/adblocking.nix
Cyryl Płotnicki 205c2b9a11
Some checks failed
use nix / build (push) Failing after 4m0s
add ad blocking dns server
2024-12-01 15:59:42 +00:00

18 lines
274 B
Nix

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