forked from extern/nix-config
bb711596c1
Instead of trying to do something fancy with shell init scripts, we let systemd handle ssh-agent instead.
11 lines
181 B
Desktop File
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
|