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
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
fprintd.nix
haka.nix
haveged.nix haveged: 1.9.2 -> 1.9.15 2021-12-17 22:21:06 +02:00
hockeypuck.nix
hologram-agent.nix
hologram-server.nix
munge.nix
nginx-sso.nix
oauth2_proxy_nginx.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
oauth2_proxy.nix
opensnitch.nix nixos/opensnitch: Add options to configure daemon 2022-03-02 18:38:56 -05:00
physlock.nix
privacyidea.nix nixos/privacyidea: increase buffer-size of uwsgi from 4096 to 8192 2021-12-21 00:51:45 +01:00
shibboleth-sp.nix
sks.nix
sshguard.nix
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
torsocks.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
usbguard.nix
vault.nix treewide: add defaultText for options with simple cfg.* expression defaults 2021-12-09 01:14:16 +01:00
yubikey-agent.nix