1
0
forked from extern/nix-config
donovanglover-nix-config/.config/systemd/user/ssh-agent.service
Donovan Glover bb711596c1
Add ssh-agent service
Instead of trying to do something fancy with shell init scripts, we let
systemd handle ssh-agent instead.
2018-10-15 08:55:20 -04:00

11 lines
181 B
Desktop File

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