mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
torsocks: enable by default if tor client functionality is enabled
This commit is contained in:
parent
824b3b1a99
commit
633cc58d5c
@ -25,7 +25,7 @@ in
|
|||||||
services.tor.torsocks = {
|
services.tor.torsocks = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = config.services.tor.enable && config.services.tor.client.enable;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to build <literal>/etc/tor/torsocks.conf</literal>
|
Whether to build <literal>/etc/tor/torsocks.conf</literal>
|
||||||
containing the specified global torsocks configuration.
|
containing the specified global torsocks configuration.
|
||||||
|
Loading…
Reference in New Issue
Block a user