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

20 lines
354 B
Nix
Raw Normal View History

2024-05-29 17:15:20 +02:00
{ pkgs, config, ... }: {
services.adguardhome = {
enable = true;
openFirewall = true;
settings = {
#bind_port = 4000;
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
};
}