20 lines
354 B
Nix
20 lines
354 B
Nix
{ 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
|
|
};
|
|
|
|
}
|