Delay startup of non-essential services
1 file changed, 9 insertions(+), 1 deletion(-)
changed files
M modules/hardware/nitrokey.nix → modules/hardware/nitrokey.nix
@@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { programs.ssh.startAgent = false;@@ -24,6 +24,14 @@ socksListenAddress = "9050 IPv6Traffic"; }; torsocks = { enable = true; + }; + }; + systemd.services.tor.wantedBy = lib.mkForce []; + systemd.timers.tor = { + description = "Delayed startup of Tor"; + wantedBy = [ "timers.target" ]; + timerConfig = { + OnActiveSec = "1 min"; }; };