nixy/dnscrypt2: require nolog, nofilter; enable http3; set relative path for cache file

This commit is contained in:
Asmir A 2024-05-10 22:34:10 +02:00
parent 5ed8aedf41
commit 3fa43bff25
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -171,7 +171,6 @@
documentation.dev.enable = true; documentation.dev.enable = true;
# List services that you want to enable: # List services that you want to enable:
systemd = { systemd = {
services = { services = {
@ -298,13 +297,16 @@
settings = { settings = {
ipv6_servers = true; ipv6_servers = true;
require_dnssec = true; require_dnssec = true;
require_nolog = true;
require_nofilter = true;
http3 = true;
sources.public-resolvers = { sources.public-resolvers = {
urls = [ urls = [
"https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md" "https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md"
"https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md" "https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md"
]; ];
cache_file = "/var/lib/dnscrypt-proxy2/public-resolvers.md"; cache_file = "public-resolvers.md";
minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3"; minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3";
}; };
}; };