nixpkgs/nixos/modules/config
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
..
fonts fontconfig service: add pre-generated fonts caches 2016-01-29 14:41:26 +03:00
debug-info.nix Add option environment.enableDebugInfo 2015-10-30 15:21:16 +01:00
gnu.nix services.xserver.startGnuPGAgent: remove obsolete NixOS option 2016-03-18 11:06:31 +01:00
i18n.nix Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 2016-03-01 20:52:06 +01:00
krb5.nix KDC description fix 2016-03-07 23:24:35 +03:00
ldap.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
networking.nix nixos: fix evaluation 2016-01-20 01:19:03 +01:00
no-x-libs.nix
nsswitch.nix
power-management.nix Remove default scsiLinkPolicy 2015-12-17 16:40:35 +01:00
pulseaudio.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
shells-environment.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
swap.nix swap service: don't restart mkswap.service on switches 2016-01-12 17:27:21 +03:00
sysctl.nix Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 2016-03-01 20:52:06 +01:00
system-environment.nix nixos,lib: move environment generation related copy-paste to lib 2015-09-18 18:48:49 +00:00
system-path.nix nixos: improve mime DB cache generation (close #11785) 2015-12-17 14:58:24 +01:00
timezone.nix
unix-odbc-drivers.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
update-users-groups.pl
users-groups.nix Fix package name typo 2016-01-02 12:37:20 -08:00
vpnc.nix nixos/vpnc: fix formatting of example 2016-02-27 22:25:39 +13:00
zram.nix zram: simplified totalmem calculation for zram.nix 2016-01-29 22:41:20 +11:00