diff options
Diffstat (limited to 'modules/programs/gnupg.nix')
| -rw-r--r-- | modules/programs/gnupg.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/programs/gnupg.nix b/modules/programs/gnupg.nix index bd2f96c..6a34e30 100644 --- a/modules/programs/gnupg.nix +++ b/modules/programs/gnupg.nix @@ -13,7 +13,7 @@ in agent.enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Enables GnuPG agent for every user session. ''; }; @@ -21,7 +21,7 @@ in agent.enableSSHSupport = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Enable SSH agent support in GnuPG agent. Also sets SSH_AUTH_SOCK environment variable correctly. ''; @@ -43,7 +43,7 @@ in '' + (optionalString cfg.agent.enableSSHSupport '' # SSH agent protocol doesn't support changing TTYs, so bind the agent # to every new TTY. - ${pkgs.gnupg}/bin/gpg-connect-agent --quiet updatestartuptty /bye > /dev/null + ${pkgs.gnupg}/bin/gpg-connect-agent --quiet updatestartuptty /bye > /dev/null 2>&1 export SSH_AUTH_SOCK=$(${pkgs.gnupg}/bin/gpgconf --list-dirs agent-ssh-socket) ''); |
