This repository has been archived on 2024-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/hosts/pink/services/dns.nix
2024-06-12 10:11:04 +02:00

17 lines
327 B
Nix

{ pkgs, config, ... }: {
services.adguardhome = {
enable = true;
openFirewall = true;
settings = {
upstream_dns = [
"194.242.2.2"
"9.9.9.9"
"1.1.1.1"
];
};
# todo add blocklist
# https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/adblock/pro.plus.txt
};
}