summaryrefslogtreecommitdiff
path: root/modules/programs/gnupg.nix
AgeCommit message (Collapse)Author
2024-08-29gpg: Suppress stderr from gpg-connect-agent on shell initIhar Hrachyshka
In some scenarios, the command may fail, e.g. when the shell is executed with a different $HOME from where gpg agent is configured to run from. (E.g. this happens in kitty terminal test suite.) This patch will suppress stderr errors on tty in this situation. Note that zsh does not allow to suppress execution of /etc/zshenv on startup, so it's impossible to skip it in the test suite environment. An alternative would be to set IN_NIX_SHELL in the test suite, but this was rejected in upstream: https://github.com/kovidgoyal/kitty/pull/7800 There's also a kitty package specific fix posted here but this may be unnecessary once nix-darwin is patched here: https://github.com/NixOS/nixpkgs/pull/338070 Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2024-04-19treewide: remove lib.mdDocWeijia Wang
2023-06-24treewide: convert all option docs to MarkdownEmily
This process was automated by [my fork of `nix-doc-munge`]; thanks to @pennae for writing this tool! It automatically checks that the resulting documentation doesn't change, although my fork loosens this a little to ignore some irrelevant whitespace and typographical differences. As of this commit there is no DocBook remaining in the options documentation. You can play along at home if you want to reproduce this commit: $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \ nix shell nixpkgs#coreutils \ -c find . -name '*.nix' \ -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \ {} + [my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2021-02-14Fix gnupg-agent being kept aliveMax Schlueter
The agent is restarted automatically after it has been launched successfully, this creates a lot of noise in the logs. This change reloads the agent only if it has crashed, i.e. returns with a non-zero exit code.
2018-05-18gnupg: add gpg-agent serviceKirill Elagin
Fixes #77.