Add ssh-agent service.

This commit is contained in:
Érico Nogueira 2021-10-22 03:11:38 -03:00
parent 3a96ff8b73
commit 5bceb13165
2 changed files with 5 additions and 0 deletions

View File

@ -16,3 +16,4 @@ set -x LANG pt_BR.UTF-8
set -x DEBUGINFOD_URLS "https://debuginfod.s.voidlinux.org http://localhost:8002"
set -x DEBUGINFOD_TIMEOUT "5"
set -x TMUX_TMPDIR ~/.config
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh/agent

4
wayland/services/ssh-agent/run Executable file
View File

@ -0,0 +1,4 @@
#!/bin/execlineb -P
importas -i dir XDG_RUNTIME_DIR
foreground { mkdir -p ${dir}/ssh }
ssh-agent -a ${dir}/ssh/agent -D