nixpkgs/nixos/modules
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
..
config nixos/fonts: Remove ancient bitmap fonts from defaultXFonts 2022-03-13 15:37:48 -07:00
hardware nixos/nvidia: add vaapi support 2022-03-14 22:35:11 -07:00
i18n/input-method nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
installer nix-fallback-paths.nix: Update to 2.7.0 2022-03-08 22:40:16 +08:00
misc nixos/os-release: generate from attrset 2022-03-04 09:36:40 +08:00
profiles nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
programs nixos/environment: add GTK paths to pathsToLink 2022-03-14 18:01:16 +01:00
security Merge pull request #156858: nixos/polkit: don't enable by default 2022-03-05 14:48:35 +01:00
services nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00
system nixos/switch-to-configuration: fix installBootLoader escaping 2022-03-14 02:12:52 +01:00
tasks treewide: remove obsolete kernel version checks 2022-02-19 21:09:19 +00:00
testing nixos/tests: also set TimeoutStart in systemd.user.extraConfig 2022-01-21 04:18:05 +01:00
virtualisation nixos/oci-containers: improve description of imageFile 2022-03-12 11:14:22 +01:00
module-list.nix nixos/systembus-notify: add support for system services notifying users 2022-03-13 20:21:21 +08:00
rename.nix Remove F-PROT package and service module (EoL) (#160372) 2022-03-02 21:51:47 +02:00