Remove ServerTransportPlugin override; use module defaults for bridge

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>
This commit is contained in:
randogoth 2026-03-27 16:57:43 +03:00
parent 8f514d8d0e
commit 49e54f3fa9

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ ... }: {
services.tor = {
enable = true;
relay = {
@ -6,7 +6,6 @@
role = "bridge";
};
settings = {
ServerTransportPlugin = "obfs4 exec ${pkgs.obfs4}/bin/obfs4proxy";
ServerTransportListenAddr = "obfs4 0.0.0.0:4430";
BridgeDistribution = "none";
};