From 22743d455ebb1f44f07b429a2b82045ca5b1d3ac Mon Sep 17 00:00:00 2001 From: tzlil Date: Sun, 30 Jul 2023 05:49:13 +0300 Subject: make ssh-agent autostart --- profiles/tzlil.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'profiles') diff --git a/profiles/tzlil.nix b/profiles/tzlil.nix index 0e242e1..5e85f35 100644 --- a/profiles/tzlil.nix +++ b/profiles/tzlil.nix @@ -59,8 +59,10 @@ in { Unit = { Description = "SSH Agent"; - After = ["default.target"]; }; + Install = { + WantedBy = ["default.target"]; + }; Service = { ExecStartPre = "${pkgs.coreutils}/bin/rm -f %t/ssh-agent"; ExecStart = -- cgit 1.4.1