mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
fix: console output when using ssh
I'm getting: ``` gpg-connect-agent: connection to the agent is in restricted mode ``` which I tracked to this invocation. Adding `--quiet` fixes it, and is probably a good idea.
This commit is contained in:
parent
10486e6b31
commit
ab1922aea2
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ let
|
|||
homedir = config.programs.gpg.homedir;
|
||||
|
||||
gpgSshSupportStr = ''
|
||||
${gpgPkg}/bin/gpg-connect-agent updatestartuptty /bye > /dev/null
|
||||
${gpgPkg}/bin/gpg-connect-agent --quiet updatestartuptty /bye > /dev/null
|
||||
'';
|
||||
|
||||
gpgInitStr = ''
|
||||
|
@ -25,7 +25,7 @@ let
|
|||
gpgNushellInitStr = ''
|
||||
$env.GPG_TTY = (tty)
|
||||
'' + optionalString cfg.enableSshSupport ''
|
||||
${gpgPkg}/bin/gpg-connect-agent updatestartuptty /bye | ignore
|
||||
${gpgPkg}/bin/gpg-connect-agent --quiet updatestartuptty /bye | ignore
|
||||
|
||||
$env.SSH_AUTH_SOCK = ($env.SSH_AUTH_SOCK? | default (${gpgPkg}/bin/gpgconf --list-dirs agent-ssh-socket))
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue