{ config, pkgs, lib, ... }: { services.tor = { enable = true; client = { enable = true; socksListenAddress = { IPv6Traffic = true; port = 9050; }; }; torsocks = { enable = true; }; }; systemd.services.tor.wantedBy = lib.mkForce []; systemd.timers.tor = { description = "Delayed startup of Tor"; wantedBy = ["timers.target"]; timerConfig = { OnActiveSec = "1 min"; }; }; }