snowflake/hosts/haru/services/adguardhome/adguardhome.nix

28 lines
546 B
Nix
Raw Normal View History

2024-01-07 17:50:34 -05:00
_: {
imports = [
./filters.nix
./rewrites.nix
];
2024-01-07 18:05:04 -05:00
networking.firewall.allowedTCPPorts = [53 3000];
2024-01-07 17:50:34 -05:00
networking.firewall.allowedUDPPorts = [53];
services.adguardhome = {
enable = true;
openFirewall = true;
mutableSettings = true;
settings = {
bind_port = 3000;
bind_host = "0.0.0.0";
statistics = {
enabled = true;
ignored = [
"youporn.com"
"pornhub.com"
"xvideos.com"
"onlyfans.com"
"fansly.com"
];
};
};
};
}