mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
nixos/tor: fix obfs4 package
This commit is contained in:
parent
c51cbfdfbc
commit
562b5061a7
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue