mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +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 = {
|
||||
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…
Reference in New Issue
Block a user