1
0
Fork 0
forked from fi/nix-infra

Initial commit

This commit is contained in:
fi 2023-07-10 15:30:51 +02:00
commit 6f88b92591
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
20 changed files with 395 additions and 0 deletions

18
hosts/tor-relay/tor.nix Normal file
View file

@ -0,0 +1,18 @@
{ ... }:
{
services.tor = {
enable = true;
settings = {
Nickname = "vsm";
ORPort = 9001;
ExitRelay = false;
SOCKSPort = 0;
ControlSocket = null;
ContactInfo = "admin@grzb.de";
RelayBandwidthRate = "70 MBits";
RelayBandwidthBurst = "150 Mbits";
DirPort = 9030;
};
};
}