nixpkgs/nixos/doc/manual/release-notes
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
..
release-notes.xml nixos/manual: add 22.05 section to list 2022-02-24 09:44:57 -08:00
rl-1310.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1404.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1412.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1509.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1603.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1609.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1703.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1709.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1803.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1809.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1903.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1909.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-2003.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-2009.section.md nixos/doc: fix merged items in 20.09 rel notes 2021-09-11 08:16:31 +00:00
rl-2105.section.md nixos: fix release notes about linux_latest version 2021-08-16 19:32:04 +02:00
rl-2111.section.md nixos/doc: update rl-2111 w.r.t. iptables-nft migration 2022-03-09 15:30:36 +01:00
rl-2205.section.md nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00