Skip to content

Commit 74bfa3e

Browse files
nixos/torsocks: do not enable when tor client functionality is used (#426419)
2 parents 0dddd9b + ba08739 commit 74bfa3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nixos/doc/manual/release-notes/rl-2511.section.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@
150150

151151
- The `services.siproxd` module has been removed as `siproxd` is unmaintained and broken with libosip 5.x.
152152

153+
- `services.tor.torsocks.enable` no longer defaults to true if Tor and Tor client functionality is enabled.
154+
153155
- `netbox-manage` script created by the `netbox` module no longer uses `sudo -u netbox` internally. It can be run as root and will change it's user to `netbox` using `runuser`
154156

155157
- `services.gateone` has been removed as the package was removed such that it does not work.

nixos/modules/services/security/torsocks.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ in
3838
services.tor.torsocks = {
3939
enable = lib.mkOption {
4040
type = lib.types.bool;
41-
default = config.services.tor.enable && config.services.tor.client.enable;
42-
defaultText = lib.literalExpression "config.services.tor.enable && config.services.tor.client.enable";
41+
default = false;
4342
description = ''
4443
Whether to build `/etc/tor/torsocks.conf`
4544
containing the specified global torsocks configuration.

0 commit comments

Comments
 (0)