dotfiles/.config/systemd/user/ssh-agent.service

11 lines
186 B
SYSTEMD

[Unit]
Description=SSH key agent
[Service]
Type=simple
Enviroment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target