summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-07-30 05:49:13 +0300
committertzlil <tzlils@protonmail.com>2023-07-30 05:49:13 +0300
commit22743d455ebb1f44f07b429a2b82045ca5b1d3ac (patch)
tree97ff5b7001137ba5761f8b59eff6aec89127fc8f /profiles
parent207da0ed099b5a655130e2d1ebaf753d40e0dd0e (diff)
make ssh-agent autostart
Diffstat (limited to 'profiles')
-rw-r--r--profiles/tzlil.nix4
1 files changed, 3 insertions, 1 deletions
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 =