mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
nixos: torify: disable by default, add some documentation as of why
This `tsocks` wrapper leaks DNS requests to clearnet, meanwhile Tor comes with `torsocks` which doesn't. Previous commits to this file state that all of this still useful somehow. Assuming that it's true, at least let's not confuse users with two different tools and don't clash with the `tsocks` binary from nixpkgs by disabling this by default.
This commit is contained in:
parent
6d25f77a64
commit
a04782581a
@ -19,15 +19,23 @@ in
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
|
||||
options = {
|
||||
|
||||
|
||||
services.tor.tsocks = {
|
||||
|
||||
enable = mkOption {
|
||||
default = cfg.enable && cfg.client.enable;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to build tsocks wrapper script to relay application traffic via TOR.
|
||||
Whether to build tsocks wrapper script to relay application traffic via Tor.
|
||||
|
||||
<important>
|
||||
<para>You shouldn't use this unless you know what you're
|
||||
doing because your installation of Tor already comes with
|
||||
its own superior (doesn't leak DNS queries)
|
||||
<literal>torsocks</literal> wrapper which does pretty much
|
||||
exactly the same thing as this.</para>
|
||||
</important>
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user