nixpkgs/nixos/modules/services/security
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
..
vaultwarden nixos/vaultwarden: fix evaluation 2022-02-20 14:37:20 +02:00
aesmd.nix nixos/intel-sgx: add option for Intel SGX DCAP compatibility 2022-01-11 14:02:16 +01:00
certmgr.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cfssl.nix nixos/cfssl: minor updates/cleanup 2022-02-05 18:53:35 -05:00
clamav.nix clamav: remove freshclam service dependency 2022-02-28 22:51:07 +01:00
fail2ban.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
fprintd.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
haka.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
haveged.nix haveged: 1.9.2 -> 1.9.15 2021-12-17 22:21:06 +02:00
hockeypuck.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
hologram-agent.nix treewide: remove nand0p as maintainer 2021-05-17 01:50:49 +02:00
hologram-server.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
munge.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
nginx-sso.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
oauth2_proxy_nginx.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
oauth2_proxy.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
opensnitch.nix nixos/opensnitch: Add options to configure daemon 2022-03-02 18:38:56 -05:00
physlock.nix nixos/physlock: fix broken wrapper 2021-09-19 11:53:41 +02:00
privacyidea.nix nixos/privacyidea: increase buffer-size of uwsgi from 4096 to 8192 2021-12-21 00:51:45 +01:00
shibboleth-sp.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
sks.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
sshguard.nix nixos/sshguard: restart sshguard when services/backend changes 2021-04-23 16:16:37 +02:00
step-ca.nix Merge pull request #150886 from mohe2015/improve-step-ca 2022-02-22 14:40:25 +01:00
tor.nix nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00
torify.nix nixos/tsocks: Add types to the options 2020-01-05 00:15:26 +01:00
torsocks.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
usbguard.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
vault.nix treewide: add defaultText for options with simple cfg.* expression defaults 2021-12-09 01:14:16 +01:00
yubikey-agent.nix nixos/yubikey-agent add maintainer jwoudenberg 2021-10-29 23:13:50 +02:00