mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
gpg-agent: Fix nushell integration
This commit is contained in:
parent
3c7bacf1d4
commit
1d717f581b
1 changed files with 1 additions and 3 deletions
|
@ -27,9 +27,7 @@ let
|
|||
'' + optionalString cfg.enableSshSupport ''
|
||||
${gpgPkg}/bin/gpg-connect-agent updatestartuptty /bye | ignore
|
||||
|
||||
if not "SSH_AUTH_SOCK" in $env {
|
||||
$env.SSH_AUTH_SOCK = (${gpgPkg}/bin/gpgconf --list-dirs agent-ssh-socket)
|
||||
}
|
||||
$env.SSH_AUTH_SOCK = ($env.SSH_AUTH_SOCK? | default (${gpgPkg}/bin/gpgconf --list-dirs agent-ssh-socket))
|
||||
'';
|
||||
|
||||
# mimic `gpgconf` output for use in `systemd` unit definitions.
|
||||
|
|
Loading…
Reference in a new issue