When role=bridge, the NixOS tor module already configures ServerTransportPlugin with pkgs.obfs4 and ExtORPort=auto. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
236 B
Nix
13 lines
236 B
Nix
{ ... }: {
|
|
services.tor = {
|
|
enable = true;
|
|
relay = {
|
|
enable = true;
|
|
role = "bridge";
|
|
};
|
|
settings = {
|
|
ServerTransportListenAddr = "obfs4 0.0.0.0:4430";
|
|
BridgeDistribution = "none";
|
|
};
|
|
};
|
|
}
|