nixos/torsocks: do not enable when tor client functionality is used (#426419)

This commit is contained in:
Sandro
2025-09-03 13:05:50 +02:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
@@ -150,6 +150,8 @@
- The `services.siproxd` module has been removed as `siproxd` is unmaintained and broken with libosip 5.x.
- `services.tor.torsocks.enable` no longer defaults to true if Tor and Tor client functionality is enabled.
- `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`
- `services.gateone` has been removed as the package was removed such that it does not work.
+1 -2
View File
@@ -38,8 +38,7 @@ in
services.tor.torsocks = {
enable = lib.mkOption {
type = lib.types.bool;
default = config.services.tor.enable && config.services.tor.client.enable;
defaultText = lib.literalExpression "config.services.tor.enable && config.services.tor.client.enable";
default = false;
description = ''
Whether to build `/etc/tor/torsocks.conf`
containing the specified global torsocks configuration.