ssh
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
ccc0eda517
commit
d86db77250
6 changed files with 44 additions and 10 deletions
|
@ -32,9 +32,9 @@ in
|
|||
environment.shellInit = ''
|
||||
export GPG_TTY="$(tty)"
|
||||
#export SSH_AUTH_SOCK=$(${pkgs.gnupg}/bin/gpgconf --list-dirs agent-ssh-socket)
|
||||
if test -z "$SSH_AGENT_PID"; then
|
||||
eval $(ssh-agent -s)
|
||||
fi
|
||||
#if test -z "$SSH_AGENT_PID"; then
|
||||
# eval $(ssh-agent -s)
|
||||
#fi
|
||||
|
||||
${pkgs.coreutils}/bin/timeout ${builtins.toString cfg.agentTimeout} ${pkgs.gnupg}/bin/gpgconf --launch gpg-agent
|
||||
gpg_agent_timeout_status=$?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue