push
This commit is contained in:
@@ -1 +1,41 @@
|
||||
{}
|
||||
{
|
||||
den.aspects.crab-hole = {
|
||||
nixos = { ... }: {
|
||||
services.crab-hole = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
blocklist = {
|
||||
include_subdomains = true;
|
||||
lists = [
|
||||
"https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts"
|
||||
"https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt"
|
||||
];
|
||||
};
|
||||
|
||||
downstream = [
|
||||
{ protocol = "udp"; listen = "127.0.0.1"; port = 53; }
|
||||
{ protocol = "udp"; listen = "::1"; port = 53; }
|
||||
];
|
||||
|
||||
upstream = {
|
||||
name_servers = [
|
||||
{
|
||||
socket_addr = "1.1.1.1:853";
|
||||
protocol = "tls";
|
||||
tls_dns_name = "1dot1dot1dot1.cloudflare-dns.com";
|
||||
trust_nx_responses = false;
|
||||
}
|
||||
{
|
||||
socket_addr = "[2606:4700:4700::1111]:853";
|
||||
protocol = "tls";
|
||||
tls_dns_name = "1dot1dot1dot1.cloudflare-dns.com";
|
||||
trust_nx_responses = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user