nixpkgs/nixos/modules/services
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
..
admin nixos/pgadmin: init 2022-02-26 14:30:14 +01:00
amqp
audio nixos/squeezelite: add support for PulseAudio version 2022-03-13 21:08:52 +08:00
backup nixos/mysqlBackup: set service Type 2022-02-18 18:35:55 +01:00
blockchain/ethereum
cluster nixos/k3s: use the systemd driver for docker + unified cgroups 2022-03-05 11:30:53 -08:00
computing nixos/slurm: fix startup of slurmd 2022-01-31 23:08:55 +01:00
continuous-integration modules/github-runner: Improve description of url 2022-03-11 10:26:39 +01:00
databases nixos/redis: bind on localhost by default 2022-02-28 13:37:47 +01:00
desktops Merge pull request #156858: nixos/polkit: don't enable by default 2022-03-05 14:48:35 +01:00
development add a defaultText 2022-02-23 16:19:10 -05:00
display-managers
editors
finance
games
hardware Merge pull request #156858: nixos/polkit: don't enable by default 2022-03-05 14:48:35 +01:00
home-automation nixos/zigbee2mqtt: move into home-automation category 2022-03-01 19:19:31 +01:00
logging logrotate: do not enable logrotate.service itself 2022-02-26 19:13:12 +09:00
mail treewide: use configured nginx package 2022-02-08 12:13:30 +01:00
matrix nixos/synapse: move into matrix category 2022-03-04 23:57:35 +01:00
misc nixos/jellyfin: Disable PrivateDevices from hardening to allow GPU endpoints to be accessed 2022-03-13 17:01:10 +00:00
monitoring Merge pull request #162254 from Ma27/init-dmarc-exporter 2022-03-14 09:02:08 +01:00
network-filesystems ipfs-migrator: 1.7.1 -> 2.0.2 2022-02-25 11:12:19 -08:00
networking Merge pull request #163304 from gravndal/amule-daemon 2022-03-12 16:18:29 +02:00
printing
scheduling
search Merge pull request #153596 from illustris/elasticsearch 2022-01-30 01:23:58 +01:00
security nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00
system nixos/earlyoom: use the newly introduced systembus-notify option 2022-03-13 20:21:21 +08:00
torrent
ttys
video epgstation: make updateScript create EditorConfig-compliant files 2022-03-12 15:10:39 +09:00
wayland
web-apps plantuml-server 1.2021.12 -> 1.2022.2 2022-03-11 09:05:35 +01:00
web-servers Merge pull request #163716 from svanderburg/fixtomcat 2022-03-13 21:43:45 +01:00
x11 Merge pull request #163622 from ilya-fedin/mate-allow-remove-any-package 2022-03-14 15:26:58 +03:00