mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
torsocks: enable by default if tor client functionality is enabled
This commit is contained in:
parent
824b3b1a99
commit
633cc58d5c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ in
|
|||
services.tor.torsocks = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
default = config.services.tor.enable && config.services.tor.client.enable;
|
||||
description = ''
|
||||
Whether to build <literal>/etc/tor/torsocks.conf</literal>
|
||||
containing the specified global torsocks configuration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue