mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-22 08:51:12 +01:00
If another systemd unit wants to talk to the ssh-agent service, they need to know the SSH_AUTH_SOCK variable to do so.
10 lines
288 B
Desktop File
10 lines
288 B
Desktop File
[Install]
|
|
WantedBy=default.target
|
|
|
|
[Service]
|
|
ExecStart=@openssh@/bin/ssh-agent -D -a %t/ssh-agent -t 1337
|
|
ExecStartPost=/nix/store/00000000000000000000000000000000-update-ssh-agent-env SSH_AUTH_SOCK=%t/ssh-agent
|
|
|
|
[Unit]
|
|
Description=SSH authentication agent
|
|
Documentation=man:ssh-agent(1)
|