From 5eaa0072ff2e74d235aa6b010b6cd32f61dcf161 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Sun, 2 Nov 2025 07:37:46 +0100 Subject: [PATCH] gpg-agent: restore empty newlines after commands --- modules/services/gpg-agent.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/services/gpg-agent.nix b/modules/services/gpg-agent.nix index e86a3922..e2ef852f 100644 --- a/modules/services/gpg-agent.nix +++ b/modules/services/gpg-agent.nix @@ -25,17 +25,23 @@ let GPG_TTY="$(tty)" export GPG_TTY '' - + optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null"; + + optionalString cfg.enableSshSupport '' + ${gpgSshSupportStr} > /dev/null + ''; gpgZshInitStr = '' export GPG_TTY=$TTY '' - + optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null"; + + optionalString cfg.enableSshSupport '' + ${gpgSshSupportStr} > /dev/null + ''; gpgFishInitStr = '' set -gx GPG_TTY (tty) '' - + optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null"; + + optionalString cfg.enableSshSupport '' + ${gpgSshSupportStr} > /dev/null + ''; gpgNushellInitStr = '' $env.GPG_TTY = (tty)