nixos/tor: fix obfs4 package

This commit is contained in:
fuwa 2019-07-19 04:03:51 +08:00
parent c51cbfdfbc
commit 562b5061a7

View File

@ -81,7 +81,7 @@ let
${optionalString (elem cfg.relay.role ["bridge" "private-bridge"]) '' ${optionalString (elem cfg.relay.role ["bridge" "private-bridge"]) ''
BridgeRelay 1 BridgeRelay 1
ServerTransportPlugin ${concatStringsSep "," cfg.relay.bridgeTransports} exec ${obfs4}/bin/obfs4proxy managed ServerTransportPlugin ${concatStringsSep "," cfg.relay.bridgeTransports} exec ${pkgs.obfs4}/bin/obfs4proxy managed
ExtORPort auto ExtORPort auto
${optionalString (cfg.relay.role == "private-bridge") '' ${optionalString (cfg.relay.role == "private-bridge") ''
ExtraInfoStatistics 0 ExtraInfoStatistics 0