nixpkgs/nixos/doc/manual
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
..
administration postgresql_9_6: drop 2021-12-03 01:14:29 +01:00
configuration nixos/doc: improve example of renaming network interfaces 2021-11-21 20:12:31 -08:00
development Merge pull request #154113 from pennae/systemd-escaping 2022-03-13 19:57:32 +00:00
from_md nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00
installation nixos/manual: use system nixpkgs to build pxe image 2022-02-16 22:22:32 +03:00
release-notes nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00
.gitignore
contributing-to-this-manual.chapter.md
default.nix nixos/documentation: fix docs cross build 2022-01-08 16:03:23 +01:00
Makefile
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml nixos-install: support --no-root-password 2021-11-22 22:09:50 +02:00
man-nixos-option.xml
man-nixos-rebuild.xml nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
man-nixos-version.xml
man-pages.xml
manual.xml
md-to-db.sh
preface.xml
README.md
shell.nix