refreshed

This commit is contained in:
serenity-F 2026-03-02 15:51:07 +10:00
parent 625aeb598b
commit 634500fc5c
No known key found for this signature in database
30 changed files with 84 additions and 172 deletions

View file

@ -18,20 +18,20 @@
## Specific TCP ports to be opened
allowedTCPPorts = [
2234 # soulseek/nicotine-plus
8384 # syncthing
8096 # jellyfin http
8920 # jellyfin https
#8384 # syncthing
#8096 # jellyfin http
#8920 # jellyfin https
];
## Specific UDP ports to be opened
allowedUDPPorts = [
2234 # soulseek/nicotine-plus
8834 # syncthing
7359 # jellyfin - client discovery
#8834 # syncthing
#7359 # jellyfin - client discovery
];
## Ranges for TCP and UDP ports to be opened
## - disabled for now as network infrastructure is minimal
## - disabled for now, network infrastructure is minimal
#allowedTCPPortRanges = [ { from = 1720; to = 1770; } ];
#allowedUDPPortRanges = allowedTCPPortRanges;
@ -39,11 +39,11 @@
## Systemd service for the dnscrypt config declared below
#systemd.services.dnscrypt-proxy2.serviceConfig = {
#StateDirectory = "dnscrypt-proxy";
#StateDirectory = "dnscrypt-proxy";
#};
services.dnscrypt-proxy = {
enable = false;
enable = true;
settings = {
ipv6_servers = true;
require_dnssec = true;
@ -54,8 +54,7 @@
"https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md"
];
## key and cachefile to verify servers and authenticity
minisign_key =
"RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3";
minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3";
cache_file = "/var/lib/dnscrypt-proxy2/public-resolvers.md";
};