nix-infra/hosts/tor-relay/tor.nix

21 lines
329 B
Nix
Raw Normal View History

2024-11-20 05:46:39 +01:00
{ ... }:
{
services.tor = {
enable = true;
relay = {
enable = true;
role = "relay";
};
2024-11-20 05:46:39 +01:00
settings = {
Nickname = "vsm";
ORPort = 9001;
DirPort = 9030;
2024-11-20 05:46:39 +01:00
ContactInfo = "admin@grzb.de";
2024-11-20 05:46:39 +01:00
RelayBandwidthRate = "40 MBits";
RelayBandwidthBurst = "50 Mbits";
2024-11-20 05:46:39 +01:00
};
};
}