3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services
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
..
amqp nixos manuals: bring back package references 2016-02-03 14:47:14 +01:00
audio Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
backup tarsnap: 1.0.36.1 -> 1.0.37 2016-03-14 17:56:48 -05:00
cluster Fix fleet certfile argument, fixes #11794 2015-12-22 01:24:47 +01:00
computing nixos: Provide a defaultText for type = package 2016-02-17 21:12:24 +01:00
continuous-integration/jenkins Configure a default trust store for openssl 2016-02-03 12:42:01 +01:00
databases postgresql: Bump default version to 9.5 2016-02-12 13:20:11 +01:00
desktops nixos: gnome-keyring: fix module description 2015-07-01 02:22:27 +02:00
games jobs -> systemd.services 2016-01-07 06:39:06 +00:00
hardware sane module: add more documentation 2016-02-25 19:36:46 +00:00
logging awstats: init at 7.4, including a simple service 2016-03-11 10:37:06 +01:00
mail Merge pull request #13838 from peti/drop-old-dovecot-versions 2016-03-16 14:36:52 +01:00
misc gitlab service: Remove emailFrom option 2016-03-17 04:16:25 +01:00
monitoring graphite: fix carbonCache graphiteWeb graphiteApi 2016-03-12 02:02:04 +01:00
network-filesystems Merge pull request #13324 from zimbatm/doc-from-wiki 2016-02-25 19:37:43 +00:00
networking Set networking.firewall.allowPing = true by default. 2016-03-17 19:40:13 +01:00
printing cups service: fix gutenprint update when there's no printers 2016-03-15 21:46:33 +03:00
scheduling jobs -> systemd.services 2016-01-07 06:39:06 +00:00
search elasticsearch2: init at 2.2.0 2016-02-13 15:03:09 +00:00
security clamav: Use freshclam.conf defined by clamav-updater module if enabled 2016-03-04 02:26:44 +01:00
system KDC description fix 2016-03-07 23:24:35 +03:00
torrent nixos.transmission: whitelist lz4 in AppArmor rules 2016-03-07 21:01:55 +01:00
ttys Merge pull request #10996 from oxij/nixos-label 2016-01-09 20:52:08 +03:00
web-apps pump.io service: init 2015-12-06 13:35:21 +00:00
web-servers nixos/foswiki: basic working service definition 2016-03-08 16:38:43 +01:00
x11 services.xserver.startGnuPGAgent: remove obsolete NixOS option 2016-03-18 11:06:31 +01:00