mirror of
https://github.com/fscotto/infra.git
synced 2026-05-31 07:49:57 +00:00
Enable new Archlinux profile for nymph
This commit is contained in:
13
dotfiles/desktop/.config/systemd/user/ssh-agent.service
Normal file
13
dotfiles/desktop/.config/systemd/user/ssh-agent.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=SSH key agent
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=SSH_AUTH_SOCK=%h/.local/state/ssh-agent/socket
|
||||
ExecStartPre=/usr/bin/mkdir -p %h/.local/state/ssh-agent
|
||||
ExecStartPre=/usr/bin/rm -f %h/.local/state/ssh-agent/socket
|
||||
ExecStart=/usr/bin/ssh-agent -D -a %h/.local/state/ssh-agent/socket
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user