nixos/tor: fix transport plugin exe name

This commit is contained in:
Dmitriy Kholkin 2023-12-23 01:42:19 +03:00
parent 7f04221f04
commit 0929716b02
No known key found for this signature in database
GPG Key ID: FD266B810DF48DF2

View File

@ -854,7 +854,7 @@ in
BridgeRelay = true;
ExtORPort.port = mkDefault "auto";
ServerTransportPlugin.transports = mkDefault ["obfs4"];
ServerTransportPlugin.exec = mkDefault "${pkgs.obfs4}/bin/obfs4proxy managed";
ServerTransportPlugin.exec = mkDefault "${lib.getExe pkgs.obfs4} managed";
} // optionalAttrs (cfg.relay.role == "private-bridge") {
ExtraInfoStatistics = false;
PublishServerDescriptor = false;