diff --git a/home-manager.nix b/home-manager.nix index 1bf27ff..b5ca0ee 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -54,6 +54,22 @@ in ./home-manager/fish.nix ]; + systemd.user.services = { + service-name = { + Unit = { + Description = "SSH key agent"; + }; + Service = { + Type = "simple"; + Environment = "SSH_AUTH_SOCK=%t/ssh-agent.socket"; + ExecStart = "/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK"; + }; + Install = { + WantedBy = "default.target"; + }; + }; + }; + services.mako.enable = true; }; }