nixpkgs/nixos/doc
Luflosi 1b34039b5f
nixos/tor: fix services.tor.client.enable = false not working
If `services.tor.client.enable` is set to false (the default), the `SOCKSPort` option is not added to the torrc file but since Tor defaults to listening on port 9050 when the option is not specified, the tor client is not actually disabled. To fix this, simply set `SOCKSPort` to 0, which disables the client.
Use `mkForce` to prevent potentially two different `SOCKSPort` options in the torrc file, with one of them being 0 as this would cause Tor to fail to start. When `services.tor.client.enable` is set to false, this should always be disabled.
2022-03-15 23:39:02 +01:00
..
manual nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00
varlistentry-fixer.rb nixos/doc/*: fix indentation 2020-11-12 14:24:00 +10:00
xmlformat.conf doc: Disable wrapping source 2019-09-18 21:17:52 +02:00