diff --git a/modules/services/gpg-agent.nix b/modules/services/gpg-agent.nix index cce5ac19..23501c68 100644 --- a/modules/services/gpg-agent.nix +++ b/modules/services/gpg-agent.nix @@ -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)) '';