nixpkgs/nixos/modules
Peter Simons 5391882ebd services.xserver.startGnuPGAgent: remove obsolete NixOS option
GnuPG 2.1.x changed the way the gpg-agent works, and that new approach no
longer requires (or even supports) the "start everything as a child of the
agent" scheme we've implemented in NixOS for older versions.

To configure the gpg-agent for your X session, add the following code to
~/.xsession or some other appropriate place that's sourced at start-up:

    gpg-connect-agent /bye
    GPG_TTY=$(tty)
    export GPG_TTY

If you want to use gpg-agent for SSH, too, also add the settings

    unset SSH_AGENT_PID
    export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"

and make sure that

    enable-ssh-support

is included in your ~/.gnupg/gpg-agent.conf.

The gpg-agent(1) man page has more details about this subject, i.e. in the
"EXAMPLES" section.
2016-03-18 11:06:31 +01:00
..
config services.xserver.startGnuPGAgent: remove obsolete NixOS option 2016-03-18 11:06:31 +01:00
hardware nvidia: allow using the beta driver, mainly in future 2016-03-07 23:33:17 +01:00
i18n/inputMethod fcitx: show available engines in module description 2016-02-28 07:12:55 -06:00
installer Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 2016-03-01 20:52:06 +01:00
misc NixOS 16.09 is called Flounder 2016-03-14 19:09:54 +00:00
profiles Remove which -> type -P alias. 2016-03-03 16:15:25 +00:00
programs Remove which -> type -P alias. 2016-03-03 16:15:25 +00:00
security fix installer tests #13559 2016-03-12 20:19:40 +00:00
services services.xserver.startGnuPGAgent: remove obsolete NixOS option 2016-03-18 11:06:31 +01:00
system sw-raid: make mdmon start from initrd 2016-03-09 21:03:49 +03:00
tasks Remove setting non-existent sysctl options 2016-03-15 17:44:30 +01:00
testing test-instrumentation.nix: Only clear $PAGER in the backdoor shell 2016-02-23 11:56:09 +01:00
virtualisation Combine OVA generation steps 2016-03-15 14:15:12 +01:00
module-list.nix mjpg-streamer service: init 2016-03-12 18:53:02 +03:00
rename.nix services.xserver.startGnuPGAgent: remove obsolete NixOS option 2016-03-18 11:06:31 +01:00